我想引用同一作者和同一出版年份的论文,我想引用它们,如(Rupke,2005a,b,c)
或等(Rupke,2005a)
。(Rupke,2005b)
我在下面添加的乳胶代码给出了错误。有什么帮助吗?谢谢!
\documentclass[a4paper,11pt,twoside,openright]{report}
\usepackage[round]{natbib}
\usepackage{hyperref}
\begin{document}
\citep{Rupke2005a},\citep{Rupke2005b,Rupke2005c}
\end{document}
这也是.bib
我的文件名proj.bib
:
@article{Rupke2005a,
author = {Rupke, David S and Veilleux, Sylvain and Sanders, D B},
file = {:home/melaku/Documents/Master project/papers/petri4444me.pdf:pdf},
pages = {87--114},
title = {{Keck High-Resolution Spectroscopy of Outflows in Infrared-luminous Galaxies}},
year = {2005}
}
@article{Rupke2005b,
author = {Rupke, David S and Veilleux, Sylvain and Sanders, D B},
file = {:home/melaku/Documents/Master project/papers/petri 4 pr.pdf:pdf},
pages = {115--148},
title = {{Outflows in Infrared-Luminous Starbursts at z 〈 0.5. I. Sample, Na I D Spectra, and Profile Fitting
Show affiliations
}},
year = {2005}
}
@article{Rupke2005c,
author = {Rupke, David S and Veilleux, Sylvain and Sanders, D B},
file = {:home/melaku/Documents/Master project/papers/petri 3 pr out flow.pdf:pdf},
pages = {751--780},
title = {{Outflows in active galactic nucleus/starburst-composite ultraluminous infrared galaxies 1,2,3}},
volume = {3},
year = {2005}
}
答案1
为此,您应该为参考书目指定作者年份样式。例如apalike
:
\documentclass[a4paper,11pt,twoside,openright]{report}
\usepackage[round]{natbib}
\usepackage{hyperref}
\begin{document}
\citep{Rupke2005a},\citep{Rupke2005b,Rupke2005c}
\bibliography{proj} % <== you must say where your bib entries are
\bibliographystyle{apalike} % <== and here you specify the style for your bibliography
\end{document}
有关作者年份样式的其他选项,请参阅natbib 文档。