Possible Duplicate:
Citing a range of papers (using numeric keys)?
I notice that in some papers, people cite references as [1-5], or as [1,2,3]. The idea is that their references are numbered in increasing order. How do they do this? My references come out all over the place in \bibliographystyle{plain} as, for example, [2,3,1,4,5,7,9].
citepackage:\usepackage{cite}and reprocess the document (pdflatex+bibtex+pdflatex+pdflatex) to rebuild the bibliography and the citationss. – Gonzalo Medina Aug 24 '12 at 18:12citethe references come out[1-5]. If you want[1,2,3,4,5], you need to use the optionnocompress. Also, if you want more space than the default amount between the numbers in a citation, you can use the optionspace. – MSC Aug 24 '12 at 21:32