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

Posted on

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.

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.

Eric Ma

Eric is a systems guy. Eric is interested in building high-performance and scalable distributed systems and related technologies. The views or opinions expressed here are solely Eric's own and do not necessarily represent those of any third parties.

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Posts