Page LayoutHeader missing in the last page

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
gwydion
Posts: 12
Joined: Thu Feb 09, 2012 1:50 pm

Header missing in the last page

Post by gwydion »

Hi,

I have this situation that I have no idea how to solve.

I'm using fancyhdr package and i defined the layout of the headers for all chapters. However, at the end of the last chapter, before the bibliography, I have:

\fancyhead{}
\fancyfoot{}
\fancyhead[LE, RO]{\thepage}
\bibliographystyle{IEEEtranSA}

i.e., I cleaned the header except for the page numbers. The idea is to show only page numbers in the Bibliography section. However, the last page of the chapter before the Bibliography only presents the page number, missing the rest of the header.

Any help?

Thx ;)

Recommended reading 2024:

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

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

meho_r
Posts: 823
Joined: Tue Aug 07, 2007 5:28 pm

Re: Header missing in the last page

Post by meho_r »

Try putting \clearpage before \fancyhead{}. Or move \fancyhead{} etc. after the bibliography title.
gwydion
Posts: 12
Joined: Thu Feb 09, 2012 1:50 pm

Re: Header missing in the last page

Post by gwydion »

yeap, \clearpage helped.

Thx :)
Post Reply