I'd like to get rid of the bibliography heading:

Please note that I'm using the thebibliography environment.
I'd like to get rid of the bibliography heading:

Please note that I'm using the thebibliography environment.
The thebibliography environment uses \section*{\refname} (article class and similar classes) or \chapter*{\bibname} (book and report and similar classes) internally. Redefining that macro locally to take and discard two arguments (one for *, one for the actual argument) will remove the headline.
Example:
\documentclass{article}
\begin{document}
\begingroup
\renewcommand{\section}[2]{}%
%\renewcommand{\chapter}[2]{}% for other classes
\begin{thebibliography}{}
\bibitem{ano05}
A. Nonymous et al.\ 2005
\bibitem{oe04}
A.N. Other \& S.O.M. Ebody 2004
\end{thebibliography}
\endgroup
\end{document}
This also works for BibTeX's \bibliography{..} because it uses thebibliography internally. For this use:
\begingroup
\renewcommand{\section}[2]{}%
%\renewcommand{\chapter}[2]{}% for other classes
\bibliography{mybibfile}
\endgroup
\renewcommand{\section}[2]{}% to \renewcommand{\section}[2]{\subsection#1{#2}}% or equivalent.
– ihuston
Jul 26 '11 at 13:43
book, I get with \traceon: \thebibliography #1->\chapter *{\bibname }\@mkboth {\MakeUppercase \bibname }{\ MakeUppercase \bibname }... ; and so even if I do \renewcommand{\chapter}[2]{}, some of the "Bibliography" title still leaks (via \MakeUppercase, apparently)? I guess in such a case, it only remains to set \bibname to empty, as suggested below...
– sdaau
Jun 30 '14 at 07:15
\renewcommand. What if you have an appendix after the bibliography?
– Tyson Williams
Sep 19 '14 at 16:04
\begingroup .. \endgroup the old definition will be restored afterwards automatically.
– Martin Scharrer
Oct 14 '17 at 06:55
If you use biblatex you can use the bibliography heading none which was added in version 1.5 (see the manual, section 3.5.7). I've got an earlier version so I can't try it but I think the following is an example of this option in use:
\documentclass{article}
\usepackage{biblatex}
\usepackage{filecontents}
\begin{filecontents*}{database.bib}
@book{texbook,
author = {Donald E. Knuth},
title = {The {{\TeX}book}},
publisher = {Addison-Wesley},
date = {1984}
}
\end{filecontents*}
\bibliography{database.bib}
\begin{document}
\cite{texbook}
\printbibliography[heading=none]
\end{document}
\begin{thebibliography} ... \end{thebibliography} so this won't help, I don't think.
– Alan Munn
Jul 08 '11 at 23:31
Redefine the \bibsection-command. You want it empty, so do:
\renewcommand{\bibsection}{}
(Credits to http://latex.org/forum/viewtopic.php?t=4089, where I found the solution which worked for me.)
Substitute your code with something like that.
\bibliographystyle{abntex2-alf}
\renewcommand{\bibname}{}
\bibliography{references.bib}
This worked using abntex2 style.
\bibname to be empty will likely cause incorrect spacing (from the "empty" section) at the start of the bibliography.
– lockstep
May 09 '13 at 08:54
=)– Paulo Cereda Jul 08 '11 at 22:09=P– Paulo Cereda Jul 08 '11 at 22:22\sectionto simply remove it's argument should do it. – Martin Scharrer Jul 08 '11 at 22:29\vspace. – SabreWolfy Aug 07 '12 at 19:39