Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Remove header from bibliography pages

I use this LaTeX code to add a bibliography section:

\bibliographystyle{plain}
\bibliography{bp}

The first page looks fine. It contains the Bibliography title, no header and a list of citations. However on the next page is a header with the title of the previous section. Is there a way to remove this header?

alt text http://imagebin.ca/img/9u-wk68W.jpg

like image 860
Lukáš Lalinský Avatar asked Dec 13 '22 00:12

Lukáš Lalinský


2 Answers

The first page is typeset with pagestyle plain. The following pages have the pagestyle of the rest of the document, which (apparently) you modified using fancyhdr.

In the documentation of fancyhdr, see the \markright and \markleft commands, which can modify the headers in your document. Probably a \markright{} can solve your problem.

like image 78
Martijn Avatar answered Dec 15 '22 15:12

Martijn


I'm sorry, I've realized that the fact that the first page of a section is without the heading was explicitly defined in the style I was using. I thought it was \bibliography that was clearing the header on the first page.

I've solved it by adding this after the last section:

\clearpage
\pagestyle{plain}

(\clearpage was necessary, because otherwise it removed headers also from the last section)

like image 23
Lukáš Lalinský Avatar answered Dec 15 '22 14:12

Lukáš Lalinský