Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I'd like to accommodate several bibliographies in a document. I am aware of packages like multibib, multibbl and bibtopic to achieve this, but I'd prefer a simple quick-and-dirty solution for a specific purpose.

I have a main bibliography which I build with bibtex. In addition, in another part of the document I want to put an extra little bibliography. The following MWE tells you what I want to achieve:

\documentclass[a4paper]{report} 

\begin{document}

\section{Further Reading}

\subsection*{Journal Papers}

\begin{thebibliography}{9}
\bibitem[Art1]{art1}    J. Doe, ``Fancy title'', {\em {IEEE} Transactions on Signal Processing}, 2010
\bibitem[Art2]{art2}    J. Williams, ``Another title'', {\em {IEEE} Transactions on Magnetics}, 2011
\end{thebibliography}

\subsection*{Conference Papers}

\begin{thebibliography}{9}
\bibitem[Art3]{art3}    A. Clifford, ``Yet another one'', {\em {IEEE} Transactions on Automatic Control}, 2013
\bibitem[Art4]{art4}    B. Jefferson, ``Last one'', {\em {IEEE} Transactions on Information Systems}, 2008
\end{thebibliography}

\end{document}

The problem is that my thesis template (in the above example, I have chosen the report documentclass as an equivalent) has its own way of putting bibliographies on different pages.

How can I override this behavior locally and avoid a page break?

share|improve this question

2 Answers 2

up vote 4 down vote accepted

The report class uses \chapter* to print the bibliography header, while the article class uses \section*.

A possible solution is to use the xpatch package (i.e., include \usepackage{xpatch}) to replace \chapter* with \section* in the definition of \thebibliography (this is the command executed by \begin{thebibliography}

The required modification is

\xpatchcmd{\thebibliography}{\chapter*}{\section*}{}{}

Here is the outcome

enter image description here

Please notice that I have replaced \section*{Conference Papers} with \subsection*{Conference Papers} for consistency with the previous one.

A further improvement would be to remove the \section entries and replace them with

\renewcommnad{\bibname}{Journal Articles}

for the first and

\renewcommand{\bibname}{Conference Papers}

for the second.

share|improve this answer
    
Thanks. I've corrected \section* to \subsection* in my post. –  jens Apr 30 at 11:13
    
A minor comment though: This solution still produces two entries in my table of content, labelled as "References". Ideally I would be able to suppress those too. –  jens Apr 30 at 12:27
    
@jens I cannot reproduce with the MWE you provided. Do you use additional packages (i.e., tocbibind)? –  Guido Apr 30 at 13:09

You might also consider getting rid of the sectioning that is done by \begin{thebibliography} and just using your own labels as the sections themselves. This appears cleaner to me.

example

\documentclass[a4paper]{report} 

\usepackage{xpatch}
\xpatchcmd{\thebibliography}{\chapter*{\bibname}}{}{}{} % Remove sectioning for bibliography entirely

\begin{document}

\section{Further Reading}

\subsection*{Journal Papers} % Create own sections

\begin{thebibliography}{9}
\bibitem[Art1]{art1}    J. Doe, ``Fancy title'', {\em {IEEE} Transactions on Signal Processing}, 2010
\bibitem[Art2]{art2}    J. Williams, ``Another title'', {\em {IEEE} Transactions on Magnetics}, 2011
\end{thebibliography}

\subsection*{Conference Papers} % Create own sections

\begin{thebibliography}{9}
\bibitem[Art3]{art3}    A. Clifford, ``Yet another one'', {\em {IEEE} Transactions on Automatic Control}, 2013
\bibitem[Art4]{art4}    B. Jefferson, ``Last one'', {\em {IEEE} Transactions on Information Systems}, 2008
\end{thebibliography}

\end{document}

Of course, keep in mind that biblatex also does an excellent job of this sort of thing.

share|improve this answer
    
Thanks cslstr, the result of your solution seems equivalent to that of Guido. I had to accept one answer. –  jens Apr 30 at 11:16

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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