1

since i want that multiple citations look like [1-5], instead of [1,2,3,4,5] i did the following thing as suggested here "http://texblog.org/2007/05/28/mulitple-reference-citation/"

I load the package \usepackage{cite}, but now i get a lot of error messages:

Paragraph ended before \@citex was complete.

for every empty line in the editor (I do this to get a better overview).

Example:

@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}

Hope someone can help me; thank you

0 Answers0