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

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

User avatar
Stefan Kottwitz
Site Admin
Posts: 10360
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