Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I'm using biblatex for bibliography management, and I'm required to use numbered citation style where references are sorted after citation order. Thus, I've loaded the package like this:

\usepackage[sorting=none]{biblatex}

Now when I cite multiple sources in the same citation

Some statement \cite{source1,source2,source3,source4}.

I get the following result:

Some statement [1, 2, 3, 4].

but I'd rather have the following:

Some statement [1-4].

Ideally, it should let two citations remain as [1, 2], while three or more should become [1-3] etc. I've looked in the documentation for options that define this behavior, but apparently I don't know what I'm looking for. (Most of my internet searches drown in results on how to abbreviate page ranges...)

share|improve this question
5  
you should check the sortcites=true option or the numeric-comp citation style (see section 3.3.1 of the manual) –  Guido Feb 11 at 11:04
    
@Guido: Thanks for pointing me in the right direction! Eventually, style=numeric-comp,sorting=none gave me what I wanted. If you put it in an answer, I can give you rep for it - otherwise I'll probably put the answer up here myself for completeness. –  Tomas Lycken Feb 11 at 11:24

1 Answer 1

up vote 3 down vote accepted

According to the biblatex manual (section 3.3.1) the numeric-comp citation style

is similar to the cite package and the sort&compress option of the natbib package in numerical mode. For example, instead of “[8, 3, 1, 7, 2]” this style would print “[1–3, 7, 8]”.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.