BibTeX, biblatex and biberreference numbering

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
Post Reply
itb1000
Posts: 25
Joined: Mon Sep 29, 2008 4:19 pm

reference numbering

Post by itb1000 »

Hi,
I am currently using the unsrt bibliographystyle.
I like the way the reference are displayed in the bibliography section.
However, in the text, three consecutive references are written like [1, 2, 3]. How can I get [1-3]?
Other questions: for non-consecutive references, I may get [20, 5, 80, 60]. These references are sorted by author name. How can I sort the reference number to obtain [5, 20, 60, 80]?
Please help me!
Thierry

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

Stefan Kottwitz
Site Admin
Posts: 10345
Joined: Mon Mar 10, 2008 9:44 pm

reference numbering

Post by Stefan Kottwitz »

Hi Thierry,

you could use the cite package for compressed and sorted lists of numerical citations.

Stefan
LaTeX.org admin
itb1000
Posts: 25
Joined: Mon Sep 29, 2008 4:19 pm

Re: reference numbering

Post by itb1000 »

Hi Stephan,
thanks a lot. It works well.
Thierry
Post Reply