I'm writing my thesis and I have a problem with references:

The references span across two pages. On the top of the second page there is a header (that appears on every page where a new chapter does not begin). The header informs a reader about the current chapter he/she is reading. But in the references it says "Conclusion", which is my last chapter. I would like this not to appear in the references (or say "References"). There are some other chapters after References, that I would like to keep their headers (\appendix).

This is the code to create references (bibtex):


This makes the headers:

\ifnum\c@secnumdepth >\m@ne
\thechapter.\ %
\fi ##1}}
\def\@oddhead{\vbox{\hbox to \textwidth{%
\hfil{\sc\rightmark}}\vskip 4pt\hrule}}
 \def\@evenhead{\vbox{\hbox to \textwidth{%
 {\sc\rightmark}\hfil}\vskip 4pt\hrule}}
  • 2
    Welcome to TeX.sx! Please add a minimal working example (MWE) that illustrates your problem. – Marco Daniel May 19 '12 at 11:59
  • Please indicate how the References section/chapter is generated: via BibTeX (or biblatex) or entirely manually? – Mico May 19 '12 at 12:49
  • Here are the files you'll probably need to compile an example...I'm unable to make it a better way – Bato May 19 '12 at 13:03
  • References section is generated using BibTeX – Bato May 19 '12 at 13:09

Evidently your bibliography command doesn't update the running heads. Judging from your code, you just need to call \chaptermark{References} (manually or automatically) when the bibliography starts.

Presumably this doesn't happen because your bibliography is a section, not a chapter. If you don't like the idea of calling \chaptermark for a section, just call \markright directly.

  • The \markright did the trick. Thank you very much. – Bato May 19 '12 at 14:00
  • You are welcome. You are now supposed to close the question by "accepting" my answer. – alexis May 19 '12 at 14:31

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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