题
我尝试将一些作者引用到我的Beamer中。引用发生在帧片中。它可以很好地工作,直到我想上标记它们。我尝试包装 [super]{cite}
而且它行不通。我遇到了一些汇编问题:
! Undefined control sequence.
\beamer@todo ...ust \edef \inserttocsectionnumber
{\the \beamer@tempcount }\
为了编译我的工作,我使用了以下bash:
pdflatex example
bibtex example
pdflatex example
pdflatex example
解决方案
我通过使用natbib的软件包找到了答案,并正确地使用了它,尤其是通过将书目形式定义到序言中,并定义空白函数newBlock,以便整理好。
序言应该看起来像:
\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}
...
不要忘记 \citep{...}
而且应该很好。
不隶属于 StackOverflow