8

It maby be weird, I want to make header and footer for every page including the first page of each chapter, how can I do this?

Stefan Kottwitz
  • 231,401
Ma Ming
  • 2,306

1 Answers1

12

For example, if you use fancyhdr, you could write

\makeatletter
\let\ps@plain\ps@fancy
\makeatother

in your preamble. Then, all first pages of chapters, which would have plain style, would show fancy style. Or use \fancypagestyle{plain}{}, see the fancyhdr manual for this.

Or use \let\ps@plain\ps@headings instead, or generally use your page style name after \ps@. \ps@plain stands for plain page style and can be reassigned this way.

Stefan Kottwitz
  • 231,401