I have a thesis written in LaTeX. I've just switched over to natbib as it offered some nice commands but I'm starting to run into some trouble. This one is minor I guess, but I have headers, with the chapter name and page number on. They are implemented in the .cls file like so:

\def \@oddhead{\normalfont \rmfamily \slshape \hfill \leftmark \hfill \thepage}% writes chapter (not sec) at top.

for a normal page, and

\def \ps@chapHeadings{\def \@oddhead{\hfill \textit{\thepage}}}

for a new chapter page.

Now the reference pages have the headings written all capitals. I don't like this as it's inconsistent with the way the rest of the thesis is done.

Does any one know how to sort it?

  • The chapter name is written in \leftmark, which is probably made \MakeUppercase{...} (or \uppercase) somewhere. You do not show this code, but I would suspect removing it would remove the capatilization.
    – Werner
    Sep 8, 2011 at 15:41
  • @Werner: natbib defines \@mkboth with \MakeUppercase Sep 8, 2011 at 16:04

2 Answers 2


Add the following lines to your preamble:


You should use biblatex instead of natbib. It provides the same commands but it is more flexible.

Here a full working example and it works well:

author={John Smith},
\def\@oddhead{\normalfont \rmfamily \slshape \hfill \leftmark \hfill \thepage}%
\def\@evenhead{\normalfont \rmfamily \slshape \hfill  \thepage \hfill \rightmark}


Here a small extension to list the references in the table of contents:

%not numbered
% \renewcommand\bibsection{%
%      \chapter{\bibname}\@mkboth{\bibname}{\bibname}
%      }
  • @Werner: Now you can edit my post ;-) Sep 8, 2011 at 15:38
  • This doesn't appear to work right. It replaces the heading with "ReferencesmkbothReferencesReferences" and then write "Conclusions" for the header, which is the previous chapter title.
    – aghsmith
    Sep 8, 2011 at 15:48
  • I tried biblatex, but it didn't seem to work properly. I have a 253 page document. It threw up abotu 120 errors with unhelpful error messages and told me that most of my bibtex references had problems with them (warnings)
    – aghsmith
    Sep 8, 2011 at 15:49
  • @aghsmith: I edited my post. Normally biblatex can simple replaced What do to to switch to `biblatex. Sep 8, 2011 at 16:03
  • Well done sir, some fine hackery. Actually it might have been the \makeatletter command that I kind of knew about... I also added this, which i found on another site, to put references in the contents: \let\oldbibsection\bibsection \renewcommand{\bibsection}{\oldbibsection\addcontentsline{toc}{part}{References}} I just added it after, I'm sure it could have been combined some how though.
    – aghsmith
    Sep 8, 2011 at 16:40

In case you want to remove the header entirely (e.g. because you do not use headers in the rest of the file), just add


to the preamble.

This should work in all templates working with natbib, such as iopart (IOP) for example.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .