I am using beamer to prepare my presentation, in that I want to include my selected reference at the end of each beamer. How can I do it in IEEE style?
[Tex/LaTex] How to include reference at the end of beamer
beamerciting
Related Solutions
If you are using natbib
for references, then you can use the bibentry
package to create references in footnotes. It should be noted that this is a bit of a hack, and it doesn't really implement a proper footnote reference style, but emulates one. To deal with subsequent citations (as you request in the comments) I've created a second command \secondcite
which will place a footnote referencing the correct citation's original footnote number without duplicating the bibliography entry itself. Here's an example:
\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}}
@book{Labov1972,
Address = {Philadelphia},
Author = {William Labov},
Publisher = {University of Pennsylvania Press},
Title = {Sociolinguistic Patterns},
Year = {1972}}
\end{filecontents}
\usetheme{Montpellier}
\usepackage{natbib}
\usepackage{bibentry}
\bibliographystyle{apalike}
\usepackage{chngcntr}
\counterwithin*{footnote}{page}
\newcommand\footcite[1]{\footnote{\bibentry{#1}}\label{\thepage:#1}}
\newcommand\secondcite[1]{\textsuperscript{\ref{\thepage:#1}}}
\begin{document}
\nobibliography{\jobname}
\begin{frame}
\frametitle{Stuff famous linguists asked}
\begin{block}{A block}
\begin{enumerate}
\item Is it part of \emph{langue} or part of \emph{parole}?\footcite{Saussure1995}
\item Is it socially stratified?\footcite{Labov1972}
\item More Saussure\secondcite{Saussure1995}
\end{enumerate}
\end{block}
\end{frame}
% The next frame is a duplicate for testing purposes
\begin{frame}
\frametitle{Stuff famous linguists asked}
\begin{block}{A block}
\begin{enumerate}
\item Is it part of \emph{langue} or part of \emph{parole}?\footcite{Saussure1995}
\item Is it socially stratified?\footcite{Labov1972}
\item More Saussure\secondcite{Saussure1995}
\end{enumerate}
\end{block}
\end{frame}
\end{document}
If you want the references to be one big frame, then using [allowframebreaks]
is the way to go. I find the standard formatting of references in beamer
overly garish, so I subdue everything:
\setbeamercolor*{bibliography entry title}{fg=black}
\setbeamercolor*{bibliography entry author}{fg=black}
\setbeamercolor*{bibliography entry location}{fg=black}
\setbeamercolor*{bibliography entry note}{fg=black}
\setbeamertemplate{bibliography item}{}
I also allow for the "(cont.)" to be used on subsequent slides:
\setbeamertemplate{frametitle continuation}[from second]
The references slide itself is simple.
\begin{frame}[t,allowframebreaks]
\frametitle{References}
\bibliography{<bibfile>}
\end{frame}
\end{document}
Place a label to the frame you want to cross-reference and then use \ref
:
\documentclass[]{beamer}
\usetheme{Madrid}
\usenavigationsymbolstemplate{}
\title{Main Title}
\author{Jane Doe}
\institute{University A}
\date{\today}
\begin{document}
\begin{frame}
\titlepage % Print the title page as the first slide
\end{frame}
\begin{frame}
\frametitle{First Page}
\begin{exampleblock}{Example}
This is an example which will be used later.
\end{exampleblock}
\end{frame}
\begin{frame}[label={important}]
\frametitle{Second Page}
\begin{itemize}
\item Item 1
\item Item 2
\end{itemize}
\end{frame}
\begin{frame}
\frametitle{Third Page}
\begin{itemize}
\item In this slide, we are going to use the sample example on slide~\ref{important}.
\end{itemize}
\end{frame}
\end{document}
Best Answer
A quick example with
biblatex
(using http://mirrors.ctan.org/macros/latex/contrib/biblatex/bibtex/bib/biblatex/biblatex-examples.bib)