我正在尝试使用Natbib
打印等对于作者来说,例如“Jeannet等[1]”。
\documentclass[runningheads,orivec]{llncs}
\usepackage{natbib}
\begin{document}
\cite{jeannetmine09} % gives [1]
\citet{jeannetmine09} % gives (author?) [1]
\citep{jeannetmine09} % gives [1]
\bibliographystyle{plain}
\bibliography{bibfile}
\end{document}
其中bibfile.bib
包含
@InProceedings{jeannetmine09,
Author = {Jeannet, B. and Min\'e, A.},
Title = {{APRON}: A Library of Numerical Abstract Domains for Static Analysis},
BookTitle = {Computer Aided Verification, CAV'2009},
Volume = {5643},
Pages = {661--667},
Series = {LNCS},
Year = {2009}
}
我不知道为什么\citet{jeannetmine09}
找不到作者此链接演出。有人能帮忙吗?
答案1
我在评论中回答你应该使用参考书目样式plainnat
。
结合此书目样式,您必须提交该numbers
选项natbib
。
完整的例子如下:
\documentclass{article}
\usepackage[numbers]{natbib}
\usepackage{filecontents}
\begin{filecontents}{bibfile.bib}
@InProceedings{jeannetmine09,
Author = {Jeannet, B. and Min\'e, A.},
Title = {{APRON}: A Library of Numerical Abstract Domains for Static Analysis},
BookTitle = {Computer Aided Verification, CAV'2009},
Volume = {5643},
Pages = {661--667},
Series = {LNCS},
Year = {2009}
}
\end{filecontents}
\begin{document}
\cite{jeannetmine09} % gives [1]
\citet{jeannetmine09} % gives (author?) [1]
\citep{jeannetmine09} % gives [1]
\bibliographystyle{plainnat}
\bibliography{bibfile}
\end{document}
结果:
PS:请不要提供未知(即不在 CTAN 上)文档类别的示例,除非 (i) 该类别与您遇到的问题相关且 (ii) 您提供了该类别的链接。