Page LayoutRunning Header also on the first Page of Chapters

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
Tutko
Posts: 2
Joined: Sun Jul 01, 2012 12:14 pm

Running Header also on the first Page of Chapters

Post by Tutko »

Hello to everybody,

I must include my personalized running head also on the first pages of every chapter in my document. In the preamble. I have the following:

Code: Select all

\fancypagestyle{happy}{
\fancyhead[L]{I'm very happy}
\fancyfoot{}
\fancyhead[R]{\thepage}}
and then I use \pagestyle{happy} to include in the document my personal header. But it doesn't appear on the first pages of chapters. How to solve this?

Thanks
Last edited by localghost on Sun Jul 01, 2012 1:03 pm, edited 2 times in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Running Header also on the first Page of Chapters

Post by localghost »

Tutko wrote:[…] How to solve this? […]
Read Section 7 of the fancyhdr manual.

Be aware that this behaviour is intended. It lets the reader recognize chapter pages instantly while browsing a (printed) document.


Best regards and welcome to the board
Thorsten
Tutko
Posts: 2
Joined: Sun Jul 01, 2012 12:14 pm

Re: Running Header also on the first Page of Chapters

Post by Tutko »

ok, thank you a lot :)
Post Reply