diff --git a/.gitattributes b/.gitattributes index 5b2719d9466b9125afa53ba1052d7f268530acd4..49523506eca6098ccfb0f3860848042431b2a2f6 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,2 +1,2 @@ *.pdf filter=lfs diff=lfs merge=lfs -text -mlu-siegel-transparent.png filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text diff --git a/mluthesis.cls b/mluthesis.cls index fcffc8861d1fde592f346e149e68d7de732c713b..ce6782bb9c3b51cf1006197bd07edd361257216b 100644 --- a/mluthesis.cls +++ b/mluthesis.cls @@ -8,7 +8,7 @@ \ProvidesClass{mluthesis}[2020/04/20 v1.0] % Load base class (scrbook). -\LoadClass[a4paper,12pt,oneside,bibliography=totoc,chapterprefix=true,appendixprefix=true]{scrbook} +\LoadClass[a4paper,12pt,oneside,bibliography=nottotoc,chapterprefix=true,appendixprefix=true]{scrbook} % Encoding: \RequirePackage[utf8]{inputenc} @@ -274,7 +274,7 @@ % Pass default options to hyperref class, if loaded. \newcommand{\hyperoptions}{ colorlinks=false, - pageanchor=false + pageanchor=true } \newcommand{\hyperpdfoptions}{ pdftex, diff --git a/sample.pdf b/sample.pdf index 28197ce5b801971b223a1c96884d70e41e38b040..0981de6e4d79349a714c86f7c39b787af82d2d68 100644 --- a/sample.pdf +++ b/sample.pdf @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:54e8bfe81e0c17acd4d6e5eba92d346c21303e0dec7cfcf82688738709a89145 -size 521006 +oid sha256:67be6396d7b3954a0008988048b7397808fef35f0d5ea0135a310112427e7aed +size 532190 diff --git a/sample.tex b/sample.tex index 48a6442b46c65cf08ba76481dfa2a4f386d151e4..9d703e4caf2bb5578ec4a703ad29bd07677d46c2 100644 --- a/sample.tex +++ b/sample.tex @@ -1,11 +1,14 @@ \documentclass[english]{mluthesis} % Supported languages: english, german -\usepackage{hyperref} -\usepackage{natbib, doi} -\usepackage{graphicx} \usepackage{amsmath} \usepackage{csquotes} \MakeOuterQuote{"} +\usepackage{graphicx} +\usepackage{hyperref} + +\usepackage{biblatex} +\addbibresource{sample.bib} +\usepackage{doi} \usepackage{lipsum} % for lorem ipsum sample text @@ -28,7 +31,7 @@ % This is a list, seperated with commata. % If you only put one entry, the numbers will be omitted. -\ThesisSetSupervisors{{Prof. Professor McProfessorface}, {Dr. Noonien Soong}} +\ThesisSetSupervisors{{Prof. McProfessorface},{Dr. Noonien Soong}} % This puts the MLU sigil on the title page. \ThesisSetLogo{\includegraphics[width=\linewidth]{mlu-siegel-transparent.png}} @@ -71,8 +74,7 @@ \lipsum[5-7] \nocite{*} -\bibliographystyle{plainnat} -\bibliography{sample} % uses file sample.bib +\printbibliography \declaration