Previous: , Up: Page styles   [Contents][Index]


18.4 \thispagestyle

Synopsis:

\thispagestyle{style}

Works in the same way as the \pagestyle (see \pagestyle), except that it changes to style for the current page only. This declaration has global scope, so its effect is not delimited by braces or environments.

Often the first page of a chapter or section has a different style. For example, this LaTeX book document has the first page of the first chapter in plain style, as is the default (see Page styles).

\documentclass{book}
\pagestyle{headings}
\begin{document}
\chapter{First chapter}
  ...
\chapter{Second chapter}\thispagestyle{empty}
  ...

The plain style has a page number on it, centered in the footer. To make the page entirely empty, the command \thispagestyle{empty} immediately follows the second \chapter.


Unofficial LaTeX2e reference manual