GeneralHeaders on new chapter pages

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
phura
Posts: 3
Joined: Tue Apr 24, 2007 4:03 pm

Headers on new chapter pages

Post by phura »

I'm playing around with the fancy headers package and I would like to have the same headers on a page where a new chapter starts (and LaTeX erases the current header) as on the pages where only sections are.
Can somebody help me with this, because I really don't know...

Thanks in advance
Greets Roel

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
User avatar
localghost
Site Moderator
Posts: 9201
Joined: Fri Feb 02, 2007 12:06 pm

Headers on new chapter pages

Post by localghost »

You can achieve that in two ways. Redefine the fancy plain style. For that refer to the documentation of the fancyhdr package (Section 7 - Redefining plain style, p. 7ff). Or you add the command to set the fancy pagestyle after every \chapter command.

Code: Select all

\chapter{A Chapter}\label{chp:chapter}
  \thispagestyle{fancy}
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes[/size]

¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1
phura
Posts: 3
Joined: Tue Apr 24, 2007 4:03 pm

Re: Headers on new chapter pages

Post by phura »

Thank you very much!
This works awesome!
Post Reply