Mulitple reference citation

By thurnherr

Recently, I was wondering how to cite multiple references at once, e.g. [1, 5, 9] or even [1-3, 6, 8]. It took me quite some time to find a solution on the web, which is one of the reasons I am posting this article here.

The solution is astonishingly easy. If you want to cite multiple references within the same brackets, you just need to separate the labels with a comma. In addition, cite will automatically check if your labels are part of an ordered list and reduce the list by replacing all the “in-betweens” with a hyphen.

Tags: , , ,

25 Responses to “Mulitple reference citation”

  1. sanam Says:

    Thanks so much… I was almost desperate ….

  2. meg Says:

    thanks!! helps a lot with my dissertation!

  3. Bill Says:

    You are the man!

  4. Kamalesh Says:

    Which style did you use? I tried with unsrt, it did not work.

  5. Jaume Barceló Vicens Says:

    touché!

  6. sinistrarcobaleno Says:

    uhm, I got [1,2,3] instead of [1-3]. Should I put something somewhere to tell bibtex to check the orere of my citations??

  7. Mathew Says:

    This doesn’t seem to always work, can you put an example file for testing?

    Thanks.

  8. thurnherr Says:

    Hi Methew,

    You are right. Check out my other post on Natbib.

    Cheers,
    Tom

  9. Blog on Latex Matters » Blog Archive » Natbib: Multiple reference citation Says:

    [...] citations.You can get the distribution as well as the documentation from CTAN.Apparently, my previous post on this topic was not providing sufficient information in order to automatically create lists for multiple [...]

  10. ali Says:

    Hi all
    at first mine didnt work too
    but when i added the Natbib to my latex it worked!!!
    i dont know what is their relation but it works now

    i added the below line in the beginning
    \usepackage[square, comma, sort&compress]{natbib}
    and used
    ~\cite{dejan07expanding,dan94scheduling}
    and got
    [1,2]

    i did not test [1-2]

  11. ali Says:

    hi all
    it also works for [1-4] :)

  12. Hassan Says:

    Hello

    You are a life saver

    thank you

  13. Hung La Says:

    I already \usepackage[square, comma, sort&compress]{natbib} and get good result [1-10], but the font size of reference section is bigger than other sections. For example in its font size is 11 pt, others are 10pt although I set \documentclass[letterpaper, 10 pt, conference]{ieeetran}. Can someone else help me to out this problem?
    Thanks very much

  14. thurnherr Says:

    Hi,

    What you can try is the following: After your \usepackage…
    \bibfont\small or whatever size of font you are using.
    Here is a complete reference of the natbib package:
    http://mirror.switch.ch/ftp/mirror/tex/macros/latex/contrib/natbib/natbib.pdf

    Hope this works,
    Tom

  15. Olivia Says:

    Thank you so much, just saved me so much time – submission two days away!

  16. anon Says:

    thank you!

  17. allefant Says:

    Thanks a lot, this info is surprisingly hard to find.. well, if it weren’t for the google result with this blog entry :)

  18. Roozbeh Daneshvar Says:

    Thanks a lot!
    :)

  19. mine Says:

    Great info thanks. BTW, make sure you don’t leave spaces around the commas. eg – \cite{a,b,c} and not \cite{a, b, c}. The latter breaks for me.

  20. Lu Says:

    Save me a lot of time…Thanks!

  21. Chris Says:

    Great! Thank you so much.

  22. Matic Says:

    Thank you!!! You saved me a lot of browsing the web!

  23. mlm Says:

    Finally found it here! Thanks!

  24. Thomas Says:

    Thank you soo much! I expected hours of google’ing and going down hundreds of levels in threads.
    You are a life-saver

  25. Mex Says:

    Thank you, saved me a lot of time, you’re awesome!

Leave a Reply