2

I am writing a paper using numeric referencing. Say I have a list of references like so:

... as presented in [3], [4], [5]

How do I instruct LyX or LaTeX to typeset it as:

... as presented in [3] - [5]

I have seen this done in several papers. Obviously I could do this manually, but I wouldn't want to do that, as references tend to get messed up very quickly.

  • 1
    Does adding \usepackage{cite} to the LaTeX preamble work? – Torbjørn T. Nov 3 '13 at 23:23
  • @TorbjørnT. Can you you post the answer so that I can mark it as correct answer? – picasso Nov 14 '13 at 19:02
3

One of the features of the cite package is that it automatically compresses ranges of citations, so go to Document --> Settings --> LaTeX preamble and add

\usepackage{cite}

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.