[Tex/LaTex] Natbib, sort&compress

cross-referencingnatbib

I have finally managed to get my references in my thesis how i want them, correct style etc. however for some reason the natbib package is managing to sort my references, but not compress them.

This means if i have referenced 4 references they appear as superscript 1,2,3,4 instead of 1-4. I have a feeling it might be a package conflict, but i am not sure. I am using the following packages,

\usepackage{StyleFiles/watermark}
\usepackage{parskip}
\usepackage{epstopdf}
\usepackage{graphicx}
\usepackage{subfigure}
\usepackage{graphics}
\usepackage{caption}
\usepackage{multirow}
\usepackage{units}
\usepackage[super,sort&compress]{natbib}
\citestyle{nature}

Any help?

Best Answer

Since it appears that you want to have citations in sorted&compressed numeric-superscript mode, you could load the cite package with the superscripts option:

\usepackage[superscripts]{cite}

The options sort and compress are "true" by default with the cite package.

Of course, if you load the cite package, do not load natbib as well.

Related Question