How to compress lists of consecutive citation numbers to one range in Latex?

How to compress lists of consecutive citation numbers to one number range in Latex?

For example, change

[14], [15], [16], [17], [19]

to

[14-17], [19]

That will save some space for the paper/document written in latex.

asked May 9, 2014 by Eric Z Ma (44,280 points)

1 Answer

 
Best answer

The cite package is great from my experience.

You just need to add

\usepackage{cite}

in the document's preamble and it compresses the consecative numbers very well.

answered May 9, 2014 by Eric Z Ma (44,280 points)

Please log in or register to answer this question.

Copyright © SysTutorials. User contributions licensed under cc-wiki with attribution required.
Hosted on Dreamhost

...