2

I downloaded the cleanthesis template and run LaTeX on thesis-example.tex. The bibliography is printed according to the alphabetical order of author's names. However, I don't want any type of sorting. I want the references to appear in the order I cited them in my LaTeX file. I have tried using unsrt and sorting=none, but none of these worked.

2
  • 1
    Welcome, the loading of some packages is done in a not so nice way. Setting up a good template is hard, because users always do stuff an author could never foresee. Add right before loading \input{my-thesis-setup}: \PassOptionsToPackage{sorting=none}{biblatex}. Of course, you need to set bibstyle=numeric, as well.
    – Johannes_B
    May 9, 2016 at 16:53
  • 3
    Since you have some responses below that seem to answer your question, please consider marking one of them as ‘Accepted’ by clicking on the tickmark below their vote count (see How do you accept an answer?). This shows which answer helped you most, and it assigns reputation points to the author of the answer (and to you!). It's part of this site's idea to identify good questions and answers through upvotes and acceptance of answers. Aug 5, 2016 at 17:37

1 Answer 1

6

cleanthesis already loads package biblatex for you. In order to have no sorting at all, which means the references are printed in the order they are cited, you have to add \PassOptionsToPackage{sorting=none}{biblatex} right before you load package cleanthesis.
Alternatively, use \ExecuteBibliographyOptions{sorting=none} after loading package cleanthesis.

Advice: Do this only with numerical bibliography styles. It is pointless with an alphabetical style.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.