2

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?

2

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
}
  • it works but unfortunately there is a really big space then before the bibliography starts – John_Doe Dec 14 '16 at 19:49
  • 1
    I've modified my answer. – gernot Dec 14 '16 at 20:19
  • I followed your instructions: It does not work, the heading is still there. – John_Doe Dec 14 '16 at 20:31
  • The only difference to your example is that I use \bibliographystylenovels{abbrv} and have a \section{Novels} before \bibliographystylenovels{abbrv}. Moreover, I use scrartcl. – John_Doe Dec 14 '16 at 20:32
  • 1
    @John_Doe Different document classes handle section headings (like the one for the bibliography) differently. I have updated my answer for the scrartcl class. – gernot Dec 14 '16 at 22:28
0

With the report or book classes, you can use:

\begingroup
   \def\chapter*#1{}
   \bibliography ...
\endgroup

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.