TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question
You don't have to sign with your name since it automatically appears in the lower right corner of your post. And please do consider marking some answers to your questions as as ‘Accepted’ by clicking on the tickmark below their vote count. – Hendrik Vogt Mar 14 '11 at 13:37

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
share|improve this answer
I'm using a class file provided by the publishers; the relevant section is – Alasdair Mar 14 '11 at 6:20
@Alasdair Look at the redefinition of \cleardoublepage above – Danie Els Mar 14 '11 at 7:07
Hmmm... I've deleted the loading of the emptypage style, and added the cleardoublepage definition as above, but I'm still getting the title of the last appendix running above the bibliography and index... I'd have to email you the class file, it's a house style and doesn't seem to be available on the Internet for general download. – Alasdair Mar 14 '11 at 11:52
I seem to have solved it by inserting \pagestyle{myheadings} \markright{} after the \backmatter command and before the bibliography and index commands. – Alasdair Mar 14 '11 at 13:03

as others have said, the running heads depend on the document class you're using. in versions of the ams document classes before version 2.20 (august 2004), the definition of \backmatter failed to reset the value of \chaptername, which then persisted into the bibliography and index. that was a bug, but it has been fixed.

if the documentclass provided by your publishers was based on an old version of the amsbook class, it may still exhibit this problem. tell your publisher to fix it.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.