我对引用标注的编号有点问题。我有 3 篇参考文献,第一个被引用的文献被[3]
分配了编号,而不是[1]
。
有人能解释一下为什么编号不对吗?
我的.tex
文件:
\begin{document}
\section{This is a section}
\cite{wen2016designing} did something but then
\cite{binetti2014distributed} did something else.
This is very interesting \cite{dimoulkas2014constructing}.
But the ordering ends up being all wrong.
\bibliographystyle{abbrv}
\bibliography{mybib}
\end{document}
我的.bib
文件(mybib.bib
):
@article{binetti2014distributed,
title = "A distributed auction-based algorithm for the
nonconvex economic dispatch problem",
author = "Binetti, Giulio and Davoudi, Ali and Naso, David
and Turchiano, Biagio and Lewis, Frank L.",
journal = "IEEE Transactions on Industrial Informatics",
volume = 10,
number = 2,
pages = "1124--1132",
year = 2014,
publisher = "IEEE",
}
@inproceedings{wen2016designing,
title = "Designing adaptive consensus-based scheme for
economic dispatch of smart grid",
author = "Wen, Guanghui and Yu, Wenwu and Yu, Xinghuo and
Cao, Jinde",
booktitle = "Advanced Computational Intelligence (ICACI), 2016
Eighth International Conference on",
pages = "236--241",
year = 2016,
organization = "IEEE",
}
@inproceedings{dimoulkas2014constructing,
title = "Constructing bidding curves for a {CHP} producer
in day-ahead electricity markets",
author = "Dimoulkas, Ilias and Amelin, Mikael",
booktitle = "Energy Conference (ENERGYCON), 2014 IEEE
International",
pages = "487--494",
year = 2014,
organization = "IEEE",
}
答案1
你问,
有人能解释一下为什么编号不对吗?
您目前使用的是abbrv
书目样式,该样式被设计为按引用出版物作者姓氏的字母顺序对所有书目条目进行排序(其次是按出版年份)。因此,您发布的三个书目条目将按 [1] Binetti 之前 [2] Dimoulkas 之前 [3] Wen 的顺序排列。无论引用 Wen 的出版物出现在文档正文的开头还是结尾,它都会被分配编号 [3]。
但是,您显然更希望引用标注完全连续编号,即按照它们在文档正文中首次出现的顺序编号。因此,您应该切换到unsrt
参考书目样式,即将指令更改\bibliographystyle{abbrv}
为\bibliographystyle{unsrt}
。然后,再重新运行 LaTeX、BibTeX 和 LaTeX 两次,以完全传播所有更改。您会发现,现在 [1] Wen 出现在 [2] Binetti 和 [3] Dimoulkas 之前。