80

In Beamer, bibliography is displayed in the way that authors, title and journals are in three lines. Here is an example.

Since I have many references, I am wondering, whether we can put them in one line to save some space? Another option is whether we can split the references into several slides?

2
  • 2
    How are you loading your bibliography? On my slides (where I use bibtex and \bibliographystyle{amsalpha}, there is no such splitting of lines. Commented Oct 4, 2011 at 12:02
  • 1
    Thanks Willie Wong, I am using \bibliographystyle{apalike}, after changing to amsalpha, there is no such splitting of lines. :-)
    – Anand
    Commented Oct 4, 2011 at 12:17

2 Answers 2

88

For splitting the references up into several slides, use the allowframebreaks option, as in:

\begin{frame}[allowframebreaks]
        \frametitle{References}
        \bibliographystyle{amsalpha}
        \bibliography{../bib_files/jabrefmaster.bib}
\end{frame}

For the "three line splitting", this is because you either composed a bibliography list with the \newblock command built-in, or are using a \bibliographystyle that inserts the \newblock command. Your choices are to either drop the \newblocks (either edit them out or using a different style), or modify how beamer handle's the command.

From the link, setting the following in the preamble should work:

\setbeamertemplate{bibliography entry title}{}
\setbeamertemplate{bibliography entry location}{}
\setbeamertemplate{bibliography entry note}{}
7
  • 1
    Thanks Willie Wong, your codes work perfectly on my system. Thanks a lot! :-)
    – Anand
    Commented Oct 4, 2011 at 12:19
  • 3
    You cannot use \bibliography outside the preamble.
    – Bakuriu
    Commented Oct 13, 2014 at 18:25
  • @Bakuriu What in the world are you talking about? See the BibTeX user guide. Commented Oct 14, 2014 at 7:20
  • 7
    In particular, your mention of \printbibliography seems to indicate that you are using biblatex instead of bibtex? The answer above is based on the assumption that bibtex is used (see the comments on the OP). Commented Oct 15, 2014 at 7:32
  • 1
    @Bakuriu for biblatex, in the preamble load the bib file \makeatletter\@ifpackageloaded{biblatex}{\addbibresource{references.bib}}{\bibliography{references}}\makeatother and in the frame use [allowframebreaks] as stated in the answer to split the bibliography up into multiple frames. Then include using \printbibliography. Works like a charm.
    – kap
    Commented Mar 17, 2016 at 22:42
0

Since I encountered the same problem with the 3-line-splitting in a presentation I made recently, I searched the Forum for hours and hours, and nothing I could find worked in my System. Titles in the References in my Bibliography go beyond the visible part of the slide, i.e. they overflow

Here, I used

\usepackage[natbib=true,style=authoryear,backend=bibtex,useprefix=true]{biblatex}
\addbibresource{biblio.bib}

in the Preamble, and;

\begin{frame}[allowframebreaks, noframenumbering]
\frametitle{Bibliography}
\printbibliography
\nocite{*}
\end{frame}

inside the Document.

MY SOLUTION to my problems was to turn to a simple, yet effective trick; Colors!

\documentclass[x11names]{beamer}

in the beginning, and I also created a customized command, which I named "biblion", i.e. book, in Greek;

\newcommand{\biblion}[3]{
\bibitem{}  
#1, {\color{black}\textit{#2}}, {\color{LightSteelBlue3}#3} \\
}

and I inserted an indicative section of my Bibliography manually; In the first argument of my command goes the name of the writer, then the title, and, finally, the information about the Publication. It worked wonders for me, therefore, I share it with all of the community! With the "biblion" command

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .