LyXIEEEtran | Format for consecutive Citations

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
Post Reply
hardya
Posts: 10
Joined: Mon Aug 23, 2010 2:31 pm

IEEEtran | Format for consecutive Citations

Post by hardya »

I am using ieeetran conference.

I understand that my multiple citations are supposed to look like this example [6-14].

Instead they look like this [6][7][8][9][10][11][12][13][14] or something similar. I add \usepackage{cite} to the latex preamble, but the it looks like [6]-[18]. I am sure some one told me it shouldn't look like this, but like [6-14]. Is this right and if so, does any one know what might be wrong?

Many thanks, sorry to be a pain.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

Ewok49
Posts: 7
Joined: Fri Dec 09, 2011 2:33 pm

Re: IEEEtran | Format for consecutive Citations

Post by Ewok49 »

I am writing up my thesis and I can't get my references to collapse like that despite doing exactly what you have done, my refs remain [1][2][3]4] instead of becoming [1-4] or even [1]-[4], despite also using the ieetr citation style.

I am using Lyx 2.02 on Ubuntu and have the texlive package installed which has the {cite} and {mciteplus} packages. However neither of those commands works if I insert them into the latex preamble (eg. "\insertpackage{cite}" - without the inverted commas). I tried each one separately as they appear to not be compatible packages...mcite overwrites cite I think?

I thought the mciteplus package would require an mciteplus compatible .bst but even that doesn't get the references to collapse. Any help would be greatly appreciated!!!!
Post Reply