[Tex/LaTex] Running head in LaTeX book is wrong


I have a book with 14 chapters, two appendices (each chapter and appendix in a separate file), and a bibliography and index. This is set up as:



include chapters


include appendices


This works fine – except that the running head in the bibliography and index has the title of the last appendix on each odd numbered page. This is clearly wrong. How do I fix this up? I hadn't even noticed this until it was picked up by the proofreaders.

I am using the emptypage.sty file to ensure that empty pages have no running head (as required by my publishers).

I'm using a class file provided by the publishers; the relevant section is

      \@clubpenalty \clubpenalty
       {\@latex@warning{Empty `thebibliography' environment}}%

This looks like it should work, but it doesn't.

Best Answer

This depends very much on your class file. If you are using the standards book class the definition is:


If you are using natbib it again redefine the \bibliography command:




In both cases it would give the correct output, but the \pagestyle{empty} turns of the \markboth command. If you point us the you class file we can take look.

Otherwise redefine the \cleardoublepage command to insert the empty page style.

    \if@twoside \ifodd\c@page\else
Related Question