I would like the reference citation to appear like [1-4], rather than [1], [2], [3], [4].

Here is my MWE


 Some text


How to solve this pooling of citations?

  • 4
    To achieve this with biblatex you can use the style numeric-comp. – N.N. Feb 6 '12 at 6:22
  • 1
    use donald arseneau's cite.sty to do this with minimum effort; natbib.sty "sort+compress" option also does the job. see tex.ac.uk/cgi-bin/texfaq2html?label=citesort – wasteofspace Feb 10 '12 at 15:54

You need to use the style=numeric-comp for biblatex.

Here is the output from the numeric-comp.tex example file (without loading hyperref, for clarity):

Loading biblatex with style numeric-comp

The output is similar to that provided by the cite package.

  • I am using \bibliographystyle{unsrt} in my article to generate the references as they appear. but, if i use the one use have prescribed, i am not getting the references as they appear. – Anil Feb 10 '12 at 9:55
  • @Anil: In your document preamble you should use \usepackage[style=numeric-comp]{biblatex}\addbibresource{refer.bib} and then only \printbibliography where you want the references printed in your document. \bibliographystyle is not used with biblatex. – Werner Feb 10 '12 at 15:17
  • in that case, references will be cited as per the entry in .bib file and not as they appear in the manuscript. – Anil Feb 10 '12 at 15:55
  • 2
    @Anil: As mentioned in my answer, you may be interested in the cite package then, rather than biblatex. – Werner Feb 10 '12 at 16:34
  • 2
    @Anil: What about \cite{ref1,ref2,ref3}? – Werner Feb 11 '12 at 14:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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