hello

i am trying to get my reference style compressed so that [1,2,3] becomes
[1--3].

using regular bibtex one would use the cite package. however, that is not
compatible with natbib.

from the natbib doc:

Sorting and compressing citations
Do not use the cite package with natbib; rather use one of the options sort
or sort&compress.
These also work with author­year citations, making multiple citations appear
in their order in the reference
list.


Options that can be added to \usepackage
round (default) for round parentheses;
square for square brackets;
curly for curly braces;
angle for angle brackets;
colon (default) to separate multiple citations with colons;
comma to use commas as separaters;
authoryear (default) for author­year citations;
numbers for numerical citations;
super for superscripted numerical citations, as in Nature ;
sort orders multiple citations into the sequence in which they appear in the
list of references;
sort&compress as sort but in addition multiple numerical citations are
compressed if possible (as 3­6, 15);
longnamesfirst makes the first citation of any reference the equivalent of
the starred variant (full author
list) and subsequent citations normal (abbreviated list);
sectionbib redefines \thebibliography to issue \section* instead of
\chapter*; valid only for classes
with a \chapter command; to be used with the chapterbib package;
nonamebreak keeps all the authors' names in a citation on one line; causes
overfull hboxes but helps with
some hyperref problems


how do i supply the sort&compress option correctly?


best regards

martin

Reply via email to