diff --git a/main.pdf b/main.pdf index efb6dc9..4a71702 100644 Binary files a/main.pdf and b/main.pdf differ diff --git a/main.tex b/main.tex index 47c4663..72456a1 100644 --- a/main.tex +++ b/main.tex @@ -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} diff --git a/math_rsa.cls b/math_rsa.cls index c589f63..26c61f0 100644 --- a/math_rsa.cls +++ b/math_rsa.cls @@ -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}