2

I'm using the gatech-thesis documentclass with the natbib package.

When I use natbib, the title of the references section title changes from REFERENCES to Bibliography. I want to change it back to REFERENCES.

I've seen some posts that talk about using the babel package and \renewcommand appropriately for report or article document class, but I couldn't get it to work.

Here's my MWE, thanks in advance for any help!

\documentclass{gatech-thesis}
%\usepackage[numbers]{natbib} 
% would like to uncomment this package without renaming the references section
\begin{document}
\bibliographystyle{plainnat}
\references
\end{document}

Worst cast scenario, I'd could abandon natbib in order to get the formatting right; but I'd rather not have to.

EDIT: I compile it with: pdflatex foo.tex; bibtex foo.tex; pdflatex foo.tex and the output is a single page with either REFERENCES or Bibliography at the top, depending on whether natbib is enabled.

  • What happen if instead of that class you try with report or book classes? BTW your MWE isn't useful if we can reproduce your error. Can you compile with the style plainnnat without load the natbib package in the preamble? – Aradnix Nov 5 '14 at 21:26
  • I don't understand. You can't reproduce the error? – arya Nov 5 '14 at 21:27
  • @arya: Your MWE produces an empty output ;-) – user31729 Nov 5 '14 at 21:28
  • @ChristianHupfer Thanks for taking a look. For me it does produce output. A single page with the word REFERENCES at the top. (Or Bibliography, if I \usepackage{natbib}.) Did you run pdflatex, bibtex, pdflatex? – arya Nov 5 '14 at 21:32
  • @arya: Of course I did, but there is no *.bib file at all.. on what should bibtex work? – user31729 Nov 5 '14 at 21:34
3

This works for me (TL 2014), not much ado...

\renewcommand{\bibname}{REFERENCES} does the job, since natbib only uses a \providecommand{\bibname}, so it's possible to redefine the macro either before or after \usepackage{natbib}

\documentclass{gatech-thesis}
\usepackage[numbers]{natbib} 

\renewcommand{\bibname}{REFERENCES}


\begin{document}
\bibliographystyle{plainnat}
\references
\end{document}

Alternative solution, for usage with babel

\documentclass{gatech-thesis}
\usepackage[english,strings]{babel}
\usepackage[numbers]{natbib} 

\StartBabelCommands{english}{extras}%
\SetString{\bibname}{REFERENCES}
\EndBabelCommands

\begin{document}
\bibliographystyle{plainnat}
\references
\end{document}
| improve this answer | |
  • Thanks, that worked for me too. I had tried that \renewcommand unsuccessfully before posting my question, but I had also added the babel package as suggested by some other posts. With \usepackage[english]{babel}, I still get "Bibliography". If I \renewcommand without babel, it works. I don't need babel, so this is fine. Thank you! – arya Nov 5 '14 at 21:49
  • @arya: Thanks for accepting, I posted a solution for babel usage as well – user31729 Nov 5 '14 at 22:00
1

The natbib package uses \bibsection for the chapter title and it basically defines it as

\chapter*{\bibname}

if \chapter is defined. So it's sufficient to reinstate the gatech-thesis way:

\documentclass{gatech-thesis}
\usepackage[numbers]{natbib}

\makeatletter
% code in lines 2660-2664 of gatech-thesis.cls
\renewcommand{\bibsection}{%
 \chapter*{\MakeUppercase{\refname}}
    \@mkboth{\scshape\MakeUppercase\refname}%
            {\scshape\MakeUppercase\refname}%
    \pagestyle{\body@pagestyle}% REFERENCES uses BODY pagestyle, not endmatter.
    \vskip 0.5in
}
\makeatother

\bibfiles{xampl} % use your own

\begin{document}
\bibliographystyle{plainnat}

\tableofcontents

\chapter{Hello!}

A citation: \cite{article-minimal}

Another: \cite{mastersthesis-minimal}

\references

\end{document}

enter image description here

This is independent of babel, because it uses \refname and not a fixed string.

| improve this answer | |

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.