Generalarticle style bibliography in beamer class

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
boschjesman
Posts: 9
Joined: Sat Nov 06, 2010 8:04 pm

article style bibliography in beamer class

Post by boschjesman »

I'm making a poster with the beamer class and the beamerposter package. I add some important references at the end, but I don't like the style. I would like the style that a bibliography has in the article class. is there a way to do this?

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

cgnieder
Site Moderator
Posts: 2000
Joined: Sat Apr 16, 2011 7:27 pm

article style bibliography in beamer class

Post by cgnieder »

As an information for potential answerers: this has been asked on TeX.sx as well.

Regards
site moderator & package author
User avatar
Stefan Kottwitz
Site Admin
Posts: 10345
Joined: Mon Mar 10, 2008 9:44 pm

article style bibliography in beamer class

Post by Stefan Kottwitz »

And there's already a suggestion by Alan Munn, producing a bibliography similar to the standard:

Code: Select all

\documentclass{beamer}
\begin{filecontents}{\jobname.bib}
@book{Saussure1995,
    Author = {Ferdinand de Saussure},
    Origyear = {1916},
    Publisher = {Payot},
    Title = {Cours de Linguistique G{\'e}n{\'e}rale},
    Year = {1995}}

@article{Sag1985,
    Author = {Ivan A Sag and G Gazdar and T Wasow and S Weisler},
    Journal = {Natural Language \& Linguistic Theory},
    Pages = {117-171},
    Title = {Coordination and How to Distinguish Categories},
    Volume = {3},
    Year = {1985}}
\end{filecontents}

\usetheme{EastLansing}
\usepackage{natbib}
\bibliographystyle{apalike}
% make bibliography entries smaller
\renewcommand\bibfont{\scriptsize}
% If you have more than one page of references, you want to tell beamer
% to put the continuation section label from the second slide onwards
\setbeamertemplate{frametitle continuation}[from second]
% Now get rid of all the colours
\setbeamercolor*{bibliography entry title}{fg=black}
\setbeamercolor*{bibliography entry author}{fg=black}
\setbeamercolor*{bibliography entry location}{fg=black}
\setbeamercolor*{bibliography entry note}{fg=black}
% and kill the abominable icon
\setbeamertemplate{bibliography item}{}

\begin{document}
\begin{frame}
    \frametitle{My great slide}
    \begin{itemize}
    \item \cite{Sag1985,Saussure1995} said some stuff.
    \end{itemize}

\end{frame}
\begin{frame}[t,allowframebreaks]
\frametitle{References}
\bibliography{\jobname}
\end{frame}
\end{document}
references.png
references.png (31.56 KiB) Viewed 29266 times
Stefan
LaTeX.org admin
Post Reply