Hi all,
I want modify an existing BST file to change the way that multiple references look.
For example, currently, when I type \cite{ref1,ref2,ref3,ref4,ref5}, the pdf output looks like this: [1,2,3,4,5]. However, I want to have an output like this when there are more than three references: [1-5].
Could you please help me about that?
Thanks in advance
BibTeX, biblatex and biber ⇒ How to cite like [1-7] instead of [1,2,3,4,5,6,7]?
NEW: TikZ book now 40% off at Amazon.com for a short time.

-
- Site Moderator
- Posts: 814
- Joined: Tue Jul 01, 2008 2:19 pm
How to cite like [1-7] instead of [1,2,3,4,5,6,7]?
The bst file has nothing to do with it. Try
Code: Select all
\usepackage[sort&compress]{cite}
Joseph Wright
How to cite like [1-7] instead of [1,2,3,4,5,6,7]?
should bejosephwright wrote:The bst file has nothing to do with it. TryCode: Select all
\usepackage[sort&compress]{cite}
Code: Select all
\usepackage[sort&compress]{natbib}
Code: Select all
\usepackage{cite}
Re: How to cite like [1-7] instead of [1,2,3,4,5,6,7]?
That's great!
Thank you very much!
Thank you very much!