sort citations by appearance

This commit is contained in:
Andreas Zweili 2017-03-04 19:41:38 +01:00
parent c031b22d3b
commit 85b5074038
3 changed files with 5 additions and 2 deletions

BIN
main.pdf

Binary file not shown.

View File

@ -370,7 +370,7 @@ zuzusenden, kann er sie mit seinem Schlüssel entschlüsseln und den Inhalt lese
\newpage
\section{Referenzen}
\nocite{*}
\bibliographystyle{plain}
\bibliographystyle{unsrtnat}
\bibliography{bib}
\include{latex}
\end{document}

View File

@ -84,6 +84,9 @@ headsep=1em
% Reference a Bibtext item
\RequirePackage{cite}
% remove the thebibliography header
% remove the the bibliography header
\RequirePackage{etoolbox}
\patchcmd{\thebibliography}{\section*{\refname}}{}{}{}
%sort the bibliography by appearance
\RequirePackage[numbers,sort&compress]{natbib}