2011-03-15 82 views
3

我试着引用一些作者进入投影机。引文发生在一个框架内。它很好地工作,直到我想为他们上标。我尝试与包[super]{cite},它不起作用。我得到一些编译问题:将引文放入投影仪内的引文中

! Undefined control sequence. 
\[email protected] ...ust \edef \inserttocsectionnumber 
               {\the \[email protected] }\ 

编译我的工作,我用下面的bash:

pdflatex example 
bibtex example 
pdflatex example 
pdflatex example 

回答

2

我找到了答案,通过使用包natbib和正确地使用它尤其是通过定义bibliographystyle成序言并定义一个空白函数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{...},它应该工作的罚款。