对于引用,我使用 .bib 文件和以下命令:
\bibliographystyle{siam}
\bibliography{bibfile}
但当我引用多本书时\cite{somebook}, \cite{anotherbook}, \cite{thirdbook}
,我经常会得到类似这样的结果
。如果结果的顺序正确[3], [4], [6]
,而不是,那就更好了。[4], [6], [3]
当然,这取决于我在 .tex 文件中引用文献的顺序,但是有没有办法自动获得正确的顺序,而无需反复试验或手动检查作者的字母顺序?
最小工作示例:
MWE.tex:
\documentclass[12pt]{article}
\usepackage{cite}
\begin{document}
Literature: \cite{Measure2}, \cite{Measure1} \cite{ProbabilityMeasure}
\bibliographystyle{siam}
\bibliography{MWE}
\end{document}
MWE.bib:
@Book{ Measure1,
author = {Vladimir I. Bogachev},
title = {Measure Theory},
publisher = {Springer Berlin Heidelberg},
year = 2007,
}
@Book{ Measure2,
author = {Donald L. Cohn},
title = {Measure Theory},
publisher = {Springer New York},
year = 2013,
edition={Second},
series={Birkh\"auser Advanced Texts Basler Lehrb\"ucher},
}
@Book{ ProbabilityMeasure,
author = {Patrick Billingsley},
title = {Probability and Measure},
publisher = {John Wiley \& Sons},
year = 1995,
edition={Third},
series={Wiley Series in Probability and Mathematical Statistics},
}
答案1
使用\cite{somebook,anotherbook,thirdbook}
so tex 将它们放在一起,并有一个对列表进行排序和压缩的包。cite
我认为包是第一个,但现在有几个包可以做到这一点,特别是natbib
有几个选项可以控制这种行为。另请参阅使用 \cite 进行扩展排序