LaTeX forum ⇒ GeneralReferences instead of Bibliography

LaTeX specific issues not fitting into one of the other forums of this category.
yoda
Posts: 4
Joined: Tue Oct 07, 2008 1:48 am

References instead of Bibliography

Postby yoda » Fri Oct 24, 2008 1:38 am

Hi!

I want to change the title and headings of the bibliography for "References". I tried with the command

\renewcommand{\bibname}{References}

and

\renewcommand{\refname}{References}

but nothing happens. Any idea?

Thanks

User avatar
Stefan Kottwitz
Site Admin
Posts: 8342
Joined: Mon Mar 10, 2008 9:44 pm
Location: Hamburg, Germany
Contact:

Postby Stefan Kottwitz » Fri Oct 24, 2008 1:49 am

Hi,

what document class do you use?
Do you use babel? If yes, then use instead of the commands above
  1. \addto\captionsenglish{\renewcommand{\bibname}{References}}

if you use the book or the report class or
  1. \addto\captionsenglish{\renewcommand{\refname}{References}}

if you use article.

Stefan
Site admin

yoda
Posts: 4
Joined: Tue Oct 07, 2008 1:48 am

Postby yoda » Fri Oct 24, 2008 2:50 pm

Thank you Stefan! it worked as I wanted

snowfrog
Posts: 38
Joined: Wed Jan 06, 2010 8:11 pm

Postby snowfrog » Thu Jan 07, 2010 1:26 pm

Hi all,

Not sure if I should open a new post but I have exactly the same problem, except that for me adding
  1. \addto\captionsenglish{\renewcommand{\bibname}{References}}

or
  1. \addto\captionsenglish{\renewcommand{\refname}{References}}


still didn't change anything.

I'm using natbib.

Thanks!

User avatar
localghost
Site Moderator
Posts: 9206
Joined: Fri Feb 02, 2007 12:06 pm
Location: Braunschweig, Germany

Postby localghost » Thu Jan 07, 2010 2:08 pm

The provided solution only works when the babel package with the english option is used. Without this package the redefinition is as simple as shown in the first post.
  1. \renewcommand{\refname}{References} % for the article class
  2. \renewcommand{\bibname}{References} % for the report or book class

In case this doesn't work for you, provide a minimal working example (MWE) that shows the problem.


Best regards
Thorsten
LaTeX Community Moderator
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes


¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1

snowfrog
Posts: 38
Joined: Wed Jan 06, 2010 8:11 pm

Postby snowfrog » Thu Jan 07, 2010 2:42 pm

Thanks, advising me to do a MWE helped me find my own (rather stupid) mistake!

User avatar
localghost
Site Moderator
Posts: 9206
Joined: Fri Feb 02, 2007 12:06 pm
Location: Braunschweig, Germany

Postby localghost » Thu Jan 07, 2010 3:54 pm

snowfrog wrote:Thanks, advising me to do a MWE helped me find my own (rather stupid) mistake!

And we are all interested in the cause so that others can avoid your mistake.
LaTeX Community Moderator
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes


¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1


Return to “General”

Who is online

Users browsing this forum: Bing [Bot] and 8 guests