Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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?

share|improve this question
add comment

1 Answer

up vote 6 down vote accepted

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.

share|improve this answer
    
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
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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