[texhax] \cite command

Lars Madsen daleif at imf.au.dk
Sat Mar 7 11:52:49 CET 2009


Afshartous, David wrote:
> All,
> 
> When using the \cite command for consecutive numeric references, how does
> one obtain output as "[1-3]" instead of "[1,2,3]"?
> 
> E.g., I have \cite{Baron:1986, Bauer:2006, Smith:2009} and this produces
> [1,2,3].
> 
> Thanks,
> David
> 
> _______________________________________________
> TeX FAQ: http://www.tex.ac.uk/faq
> Mailing list archives: http://tug.org/pipermail/texhax/
> More links: http://tug.org/begin.html
> 
> Automated subscription management: http://tug.org/mailman/listinfo/texhax
> Human mailing list managers: postmaster at tug.org

either the cite package or of you are using bibtex and the natbib 
package then the sort&compress option

/daleif


More information about the texhax mailing list