Page Layoutmissing separating line after header on first chapter page

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
vivelafete
Posts: 11
Joined: Fri Nov 27, 2009 12:38 pm

missing separating line after header on first chapter page

Post by vivelafete »

I'm using the fancyhdr package.
I would like to have the same header and footer on every page. It seems to be possible, but I don't see the horizontal line, that separates the header and footer from the content, on the first chapter page.
Does anybody have a solution?

Thanks in advance

Recommended reading 2024:

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

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

User avatar
gmedina
Posts: 2313
Joined: Wed Jul 11, 2007 11:45 pm

missing separating line after header on first chapter page

Post by gmedina »

Hi,

by default, the standard document classes internally define plain as the page style to be used for the first page of chapters (and some other pages of a document).

You can override this by using

Code: Select all

\makeatletter
  \let\ps@plain\ps@fancy
\makeatother
in the preamble of your document. Another option is to redefine the plain page style; the fancyhdr documentation (section 7 Redefining plain style) explains how to do this.
1,1,2,3,5,8,13,21,34,55,89,144,233,...
Post Reply