I'm writing a paper and using the IEEEtran.cls in LaTeX. I need to have my references to appear like:
\cite{test1,test2,test3}
I want :
[1-3]
I searched and found that I need to include cite package. However, after I have used cite packages, I get :
[1]-[3]
How can I get [1-3] instead of [1]-[3]? without using new commands ?
Here is an example of what I have :
\documentclass[conference]{IEEEtran}
\usepackage{cite}
\begin{document}
\section{Test}
\cite{test1,test2,test3}.
\bibliographystyle{IEEEtran}
\bibliography{test}
\end{document}
the test.bib file:
@MISC{test1,
title = {Reference test1}
}
@MISC{test2,
title = {Reference test2}
}
@MISC{test3,
title = {Reference test3}
}
output :
I. TEST
[1]–[3].
REFERENCES
[1] “Reference test1.”
[2] “Reference test2.”
[3] “Reference test3.”

get [1]-[3] instead of [1]-[3]? What's the difference? – nneonneo Feb 16 '13 at 19:40IEEEtranthe output is deliberate. Could you explain a bit more about your document so we can understand what the aim is? – Joseph Wright Feb 17 '13 at 14:30