BibTeX, biblatex and biberCompressed Numbering of Citations

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
Post Reply
swagatopablo
Posts: 16
Joined: Sun Mar 25, 2012 10:57 am

Compressed Numbering of Citations

Post by swagatopablo »

I am using unsrt bibliography format with the article document class. Suppose I cite five references in a sentence. They are appearing like "[1, 2, 3, 4, 5]". How to make it appear like "[1-5]", which I have seen in many articles?

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: 10359
Joined: Mon Mar 10, 2008 9:44 pm

Compressed Numbering of Citations

Post by Stefan Kottwitz »

You can achive this by loading the cite-Package:

Code: Select all

\usepackage{cite}
Stefan
LaTeX.org admin
Post Reply