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.

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?

share|improve this question
1  
How are you loading your bibliography? On my slides (where I use bibtex and \bibliographystyle{amsalpha}, there is no such splitting of lines. –  Willie Wong 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. :-) –  Anand Oct 4 '11 at 12:17

1 Answer 1

up vote 26 down vote accepted

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}{}
share|improve this answer
    
Thanks Willie Wong, your codes work perfectly on my system. Thanks a lot! :-) –  Anand Oct 4 '11 at 12:19
    
You cannot use \bibliography outside the preamble. –  Bakuriu Oct 13 at 18:25
    
@Bakuriu What in the world are you talking about? See the BibTeX user guide. –  Willie Wong Oct 14 at 7:20
    
@WillieWong I have just tried to put your code and that's the error I get. Using \printbibliography works. –  Bakuriu Oct 14 at 16:03
1  
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). –  Willie Wong Oct 15 at 7:32

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.