BibTeX, biblatex and biberReferences are not displayed in order

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
Post Reply
nena_bologna
Posts: 3
Joined: Sat Jan 15, 2022 9:57 pm

References are not displayed in order

Post by nena_bologna »

Hello

I have created a bib file (myref.bib) and in the main text I added at the end the following:

\bibliographystyle{plain}

\bibliography{myref.bib}

However, when I add references, the recent reference I add (which need to come last in the text) come to the top and the first reference I added come to the last.

What could be the problem?

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX books
User avatar
Stefan Kottwitz
Site Admin
Posts: 10308
Joined: Mon Mar 10, 2008 9:44 pm

References are not displayed in order

Post by Stefan Kottwitz »

Hi Nena,

welcome to the forum! You could use

\bibliographystyle{unsrt}

insteaf of plain, then citations will be in the order they are written in the document.

Stefan
LaTeX.org admin
nena_bologna
Posts: 3
Joined: Sat Jan 15, 2022 9:57 pm

References are not displayed in order

Post by nena_bologna »

Thanks a lot Stefan, it really helped.
jenila1995
Posts: 1
Joined: Sat Oct 28, 2023 11:01 am

References are not displayed in order

Post by jenila1995 »

I tried with \bibliographystyle{unsrt} instead of {plain}. But, still I am not getting the references in order.
User avatar
Stefan Kottwitz
Site Admin
Posts: 10308
Joined: Mon Mar 10, 2008 9:44 pm

References are not displayed in order

Post by Stefan Kottwitz »

Hi Jenila,

welcome to the forum!

\bibliographystyle{unsrt} works for me, and Nena above wrote that it worked for her too. Perhaps tell us what you are doing differently in your document.

Stefan
LaTeX.org admin
Post Reply