I've been trying many different ways to sort my Bibliography as it appears in the text. But unfortunately it's always sorted the alphabetical way.

I'm using the following packages in my master file (I'm using a template and I don't know what this all stands for, since I'm using latex for the first time):

\usepackage[left=2.5 cm,right=2.5 cm,top=2.5 cm,bottom=1.7cm,bindingoffset=0.6cm]{geometry}
\renewcommand{\sectionmark}[1]{\markright{\thesection\ #1}}

And with this code I'm trying to add my .bib file (arbeit.bib) in my masterfile:


When run the arbeit.bib file I get following errors:

Process started This is BibTeX, Version 0.99d (MiKTeX 2.9) The top-level auxiliary file: arbeit.aux The style file: abbrv.bst A level-1 auxiliary file: Zusammenfassung.aux A level-1 auxiliary file: inhalt.aux Illegal, another \bibstyle command---line 13 of file arbeit.aux : \bibstyle : {unsrt} I'm skipping whatever remains of this command A level-1 auxiliary file: Anhang.aux Database file #1: arbeit.bib I was expecting a ,' or a}'---line 59 of file arbeit.bib : : @misc{rainforest_ind, (Error may have been on previous line) I'm skipping whatever remains of this entry (There were 2 error messages) Process exited normally

I have been trying many different styles which all should sort by the appearance... but without success. I hope someone might help me with my problem.

  • Hi, it seems you are a german speaker, please have a look at LaTeX-Vorlagen. Many packages in your template are obsolete, the obsolete clas options will run into compatibility mode, loosing lots of features. I would not recommend using this template.
    – Johannes_B
    May 22, 2015 at 11:31
  • 1
    It seems you are using bibliographystyle two times, which confuses BibTeX. You have shown only snippets, so i cannot be sure, though.
    – Johannes_B
    May 22, 2015 at 11:32

1 Answer 1


Did you try biblatex? It has the option for sorting: none Do not sort at all. All entries are processed in citation order

I suppose that that is what you want.


To your style file or preamble, add:


Of course, there are many more options.

  • Welcome to TeX.SX! You can have a look at our starter guide to familiarize yourself further with our format. It'd be best to expand this to a brief but complete example of biblatex used in this way. May 22, 2015 at 11:17

You must log in to answer this question.