因为我希望多个引用看起来像 [1-5],而不是 [1,2,3,4,5],所以我按照这里的建议做了以下事情“http://texblog.org/2007/05/28/mulitple-reference-citation/“
我加载了包 \usepackage{cite},但是现在我收到很多错误消息:
Paragraph ended before \@citex was complete.
对于编辑器中的每个空行(我这样做是为了获得更好的概览)。
例子:
@misc{A01,
author = {Jones, A. and James, C., and Giannini, J.},
year = {2001},
title = {Title of journal article},
}
\documentclass[preprint,12pt]{elsarticle}
\usepackage{cite}
\usepackage{amssymb}
\usepackage{lineno}
\usepackage{graphicx}
\usepackage{amsmath}
\usepackage{caption}
\usepackage{subcaption}
\journal{Energy}
\begin{document}
lasjfsjlf
sjflsjdlfj \cite{A01}
\bibliographystyle{ieeetr}
\end{document}
希望有人能帮助我;谢谢