Remove bibliography title and pagebreak from \bibliography

user3560311 picture user3560311 · Jun 12, 2014 · Viewed 7.4k times · Source

I would like to remove the title 'Bibliography' and the pagebreak which is put automatically using \bibliography{myPublications}. So far, I have found that with \renewcommand{\bibname}{} you can remove the title, and \renewcommand{\chapter}{} removes the pagebreak, but leaves an asterisk in the pdf. \renewcommand{\chapter*}{} gives the error: \chapter *undefined. Any workaround?

\section*{Publications}
\renewcommand{\bibname}{}
\renewcommand{\chapter}{}

\nocite{myPaper}

\bibliographystyle{unsrt} 
\bibliography{publications}

Answer

Werner picture Werner · Jun 13, 2014

In this very particular case, you can try

\makeatletter
\renewcommand{\chapter}{\@gobbletwo}
\makeatother

which makes \chapter gobble two tokens following it, meaning the * and the title argument.