[texhax] how to use cite in beamer

Steve Schwartz s.schwartz at imperial.ac.uk
Sun Mar 4 17:56:26 CET 2012


Lina,

On Sun, 2012-03-04 at 23:56 +0800, lina wrote:
> 
> I am stuck with how to use \cite in beamer.

The short answer to your question is that this is pretty well described
in the beamer user guide. Here is a working example:

\documentclass{beamer}
\usetheme{Madrid}
\setbeamertemplate{bibliography item}[text] %default is an icon of an
article

\begin{document}

\frame{\frametitle{Hello}
According to \cite{ref1} hello is a good word.

\bibliographystyle{unsrt}
\begin{thebibliography}{99}
\bibitem[Paper 1]{ref1}Auth, AB,  \newblock \emph{Journal}, \textbf{Vol
2}, \newblock 123, 2001.
\bibitem[Paper 2]{ref2}Bauth, AB,  \newblock \emph{Journal}, \textbf{Vol
5}, \newblock 123, 2002.
\end{thebibliography}
}

\end{document}

HTH

Steve



-- 
+-------------------------------------------------------------------+
Professor Steven J Schwartz        Phone: +44-(0)20-7594-7660
Head, Space & Atmospheric Physics  Fax:   +44-(0)20-7594-7772
The Blackett Laboratory            E-mail: s.schwartz at imperial.ac.uk
Imperial College London            Office: Huxley 6M67A 
London SW7 2AZ, U.K.               Web: www.sp.ph.ic.ac.uk/~sjs
+-------------------------------------------------------------------+



More information about the texhax mailing list