[Tex/LaTex] Using multibib without an extra title

multibib

When using

\newcites{novels}{Novels}

in the package multibib, then I can cite with

\citenovels{entry}.

And I get an extra bibliography with title Novels.

Unfortunately, I do not want to have a title for this extra bibliography, but using

\newcites{novels}{}

gives me an error. What can I do to get rid of the title?

Best Answer

The solution depends on the document class.

article Add the following lines to the preamble:

\usepackage{xpatch}
\makeatletter
\newcommand\removebibheader
  {\xpatchcmd\std@thebibliography
    {\section*{\refname}%
     \@mkboth{\MakeUppercase\refname}{\MakeUppercase\refname}%
    }{}{}{}%
  }
\makeatother

scrartcl, scrreprt, scrbook Add the following lines to the preamble:

\makeatletter
\newcommand\removebibheader{\let\bib@heading\relax}
\makeatother

Moreover, for all of the above classes: Define the new bibliography with whatever title you like, e.g.

\newcites{novels}{Novels}

At the place where you include the bibliography, execute the command \removebibheader before. In order not to affect other bibliographies, surround it and the \bibliograhy... command by braces.

{\removebibheader
 \bibliographynovels{novels}
}

Here is an example with full code.

enter image description here

\documentclass{article}
\usepackage{multibib}
\newcites{novels}{Novels}
\usepackage{xpatch}
\makeatletter
\newcommand\removebibheader
  {\xpatchcmd\std@thebibliography
    {\section*{\refname}%
     \@mkboth{\MakeUppercase\refname}{\MakeUppercase\refname}%
    }{}{}{}%
  }
\makeatother
\usepackage{blindtext}
\begin{document}
\citenovels{entry}
\blindtext
\bibliographystylenovels{plain}
{\removebibheader
 \bibliographynovels{novels}
}
\end{document}

Alternatively, for the scrartcl class:

\documentclass{scrartcl}
\usepackage{multibib}
\newcites{novels}{Novels}
\makeatletter
\newcommand\removebibheader{\let\bib@heading\relax}
\makeatother
\usepackage{blindtext}
\begin{document}
\citenovels{entry}
\blindtext
\bibliographystylenovels{plain}
{\removebibheader
 \bibliographynovels{novels}
}
\end{document}

Contents of novels.bib:

@article{entry,
author = {The author},
title = {The novel},
journal = {The journal},
year=2016
}
Related Question