Generalnumbering order with \bibliographystyle

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
carol
Posts: 105
Joined: Wed Dec 24, 2008 7:25 pm

numbering order with \bibliographystyle

Post by carol »

Hi,
I have used \bibliographystyle{plain} but when I cite some references in the doc, they don't appear with numbering order. For example, I get [9,2,28,13,11] instead of [2,9,11,13,28]. Is there any way that latex would cite the references with numbering order?

cheers,

Recommended reading 2024:

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

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

User avatar
gmedina
Posts: 2313
Joined: Wed Jul 11, 2007 11:45 pm

numbering order with \bibliographystyle

Post by gmedina »

Hi,

you can load the natbib package with the sort option; i.e., add this in the preamble of your document:

Code: Select all

\usepackage[sort]{natbib}
1,1,2,3,5,8,13,21,34,55,89,144,233,...
carol
Posts: 105
Joined: Wed Dec 24, 2008 7:25 pm

Re: numbering order with \bibliographystyle

Post by carol »

works like a charm! thanks!
Post Reply