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?

11

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.

  • 1
    or use the memoir class and alias its chapter pagestyle to something more suitable. – daleif Apr 6 '11 at 21:05
  • ... or use one of the KOMA-Script classes and redefine \chapterpagestyle. – Gonzalo Medina Apr 7 '11 at 1:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.