开发者

Putting citation in supercript within Beamer

I try do to cite some authors into my beamer. The citation takes place within a frametitle. It works perfectly fine until I want to superscript them. I try with package [super]{cite} and it doesn't work. I get some compilation problems:

! Undefined control sequence.
\beamer@todo ...ust \edef \inserttocsectio开发者_Go百科nnumber
                                              {\the \beamer@tempcount }\

To compile my work, i used the following bash:

pdflatex example
bibtex example
pdflatex example
pdflatex example


I found the answer by using the package natbib and correctly use it especially by defining the bibliographystyle into the preamble and to define a blank function newblock in order to compile nicely.

The preamble should look like:

\documentclass[pdf,10pt]{beamer}

\usepackage[sort&compress,comma,super]{natbib}
\bibliographystyle{apalike} % Or your specific bibliographystyle

\def\newblock{} % To avoid a compilation error about a function \newblock undefined

\begin{document}
 ...

Don't forget the \citep{...} and it should work fine.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜