# bibliography in Beamer

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?

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

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}{}

• Thanks Willie Wong, your codes work perfectly on my system. Thanks a lot! :-) Oct 4 '11 at 12:19
• You cannot use \bibliography outside the preamble. Oct 13 '14 at 18:25
• @Bakuriu What in the world are you talking about? See the BibTeX user guide. Oct 14 '14 at 7:20
• 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). Oct 15 '14 at 7:32
• @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
Mar 17 '16 at 22:42