\renewcommand{\refname}{} does not remove “References”

I have a file of class "article" with bibliography style "nature" Since I want to have the references in the table of contents with a section number, i have set a section with the references inside and now want to hide the automatically set title "References"

As far as I know, `\renewcommand{\refname}{}` should do the magic, but it doesn't. What am I missing?

• Please, a minimal example with the necessary packages is needed. For example, the `natbib` package changes the definition of the bibliography section. – egreg Mar 16 '12 at 23:25
• thanks, egreg. packages was indeed the problem because of the order of commands. – stefan Mar 16 '12 at 23:41
• @stefan -- which packages are you loading? – Mico Mar 17 '12 at 0:33
• I resolved that same issue with `\renewcommand{\refname}{}` right after `\bibliographystyle` – doed Jan 17 '15 at 3:04

If you are loading the package `natbib`, then

``````\renewcommand{\bibsection}{}
``````

after `\usepackage[<options>]{natbib}` will get rid of the section automatically provided (and also of the blank space you'd get by only redefining `\refname` or `\bibname`).

• this didn't work for me. I am using `\usepackage{apalike}`. I could suppress "References" if I used `\renewcommand{\refname}{}` right before the `\bibliography{cite}` command. But still had the extra space. – jerlich Mar 11 at 15:42
• @jerlich Please, ask a fresh question with all the details. – egreg Mar 11 at 15:46
• my question was answered by a combination of the answers in this post. so a fresh question seems duplicative. – jerlich Mar 11 at 15:49

For my part I used these command:

``````\bibliographystyle{plain} % bib style
%%% change name of biliography
\renewcommand{\bibname}{} %%no name
``````

I just tested it on a article I wrote and it worked fine.

• Note that this will usually produce the same vertical white space that `\section*{}` would produce. This additional spacing may not always be wanted. – moewe Aug 3 at 4:40