BibTeX, biblatex and biberReference exibition mode

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
Post Reply
lsales
Posts: 1
Joined: Fri Feb 18, 2011 6:22 pm

Reference exibition mode

Post by lsales »

I´m actually writing my PhD thesis and using numbered references (i.e. [1,2]). In some cases I need to use a long number of sequenced references between brackets, like [10,11,12,13,14,15]. Does anybody knows how to supress the intermediate numbers, in order to present it the same way scientifica papers, i.e. [10-15]?
Thanks,
Leonardo

Recommended reading 2024:

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

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

Frits
Posts: 169
Joined: Wed Feb 02, 2011 6:02 pm

Reference exibition mode

Post by Frits »

If you're using the natbib package, it can be done with the following option

Code: Select all

\usepackage[sort&compress]{natbib}
howtoTeX.com - Your LaTeX resource site (Tips, Tricks, Templates and more!)
Follow howtoTeX on twitter
Post Reply