I have some text with a lot of instances where \cite{} was used consecutively.





How can I have them show up as a singe reference range rather than several consecutive references?

Desired output:



  • 1
    Do you use natbib and BibTeX? Please add a minimal compilable example.
    – AlexG
    Nov 13 '19 at 21:05

Along with placing all citation keys in the argument of a single \cite command, you need to load a suitable citation management package. I suggest you load either the cite package or the natbib package with options numbers and sort&compress.

enter image description here

\documentclass{article} % or some other suitable document class

@misc{a, author = "A", title  = "uuu", year   = 3001, }
@misc{b, author = "B", title  = "vvv", year   = 3002, }
@misc{c, author = "C", title  = "www", year   = 3003, }
@misc{d, author = "D", title  = "xxx", year   = 3004, }

% bibliography style that can generate numeric-style citation callouts:
% or: \usepackage{cite}


This gives [1-4] in several systems, but I gather it depends upon which style you're using.

  • Assuming the document doesn't load a suitable citation management package, your setup generates [1,2,3,4,], not [1-4].
    – Mico
    Nov 13 '19 at 22:04

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.