我正在使用与此类似的 LaTeX 文档,使用 splncsnat.bst 尝试使用
natbib。我也尝试了其他选项,但只获得了书目编号系统:
\documentclass{llncs}
\usepackage[numbers]{natbib}
\begin{document}
Bla bla bla \cite[Pamp2015].
\bibliographystyle{splncsnat}
\bibliography{sbphd} % name of my BibTeX data base
\end{document}
我尝试了这个解决方案,并且取得了效果。这是最好的方法吗?
\usepackage[round]{natbib}
\bibliographystyle{plainnat}
答案1
看起来运行正常。(尽管我不得不猜测你splncsnat.bst
从哪里得到的。)
\documentclass[oribibl]{llncs}
\usepackage{natbib}
\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@article{test2018,
author = {Author, A.},
title = {Title},
journal = {Journal},
volume = {1},
pages = {1-10},
year = {2018}
}
@article{test2017a,
author = {Author, A.},
title = {Title},
journal = {Journal},
volume = {1},
pages = {1-10},
year = {2017}
}
@article{test2017b,
author = {Author, A.},
title = {Title2},
journal = {Journal},
volume = {1},
pages = {1-10},
year = {2017}
}
@article{test2016,
author = {Author, A. and Author, B.},
title = {Title},
journal = {Journal},
volume = {1},
pages = {1-10},
year = {2016}
}
@article{test2015,
author = {Author, A. and Author, B. and Author, C.},
title = {Title},
journal = {Journal},
volume = {1},
pages = {1-10},
year = {2015}
}
\end{filecontents}
\setcitestyle{round,aysep={}}
\begin{document}
\citep{test2018}
\citet[2]{test2017a}
\citep{test2018,test2017a}
\citep{test2017a,test2017b}
\citet{test2016}
\citep{test2015}
\citep[5]{test2015,test2018}
\bibliographystyle{splncsnat.bst}
\bibliography{\jobname.bib}
\end{document}