Make formatting more like template

This commit is contained in:
Simon Bruder 2021-06-25 17:51:00 +02:00
parent 5d4aa4e9c1
commit 786aa4c0fb
Signed by: simon
GPG key ID: 8D3C82F9F309F8EC

View file

@ -9,8 +9,6 @@
% fonts % fonts
fontsize=12pt, fontsize=12pt,
parskip=half, parskip=half,
% structure
bibliography=totoc, % add bibliography to toc
} }
% hyphenation % hyphenation
@ -41,6 +39,10 @@
style=geschichtsfrkl, % implements my citation requirements almost perfectly style=geschichtsfrkl, % implements my citation requirements almost perfectly
]{biblatex} ]{biblatex}
\addbibresource{bibliography.bib} \addbibresource{bibliography.bib}
\defbibheading{quellenheading}{\section*{Quellen}}
% unnumbered chapter shown in TOC
\newcommand{\unnumberedchapter}[1]{\chapter*{#1}\addcontentsline{toc}{chapter}{#1}}
\subject{Seminararbeit} \subject{Seminararbeit}
\title{Albert Göring} \title{Albert Göring}
@ -49,22 +51,17 @@
\date{\DTMdisplaydate{2021}{01}{01}{-1}} \date{\DTMdisplaydate{2021}{01}{01}{-1}}
\begin{document} \begin{document}
\pagenumbering{gobble}
\maketitle \maketitle
% toc % toc
\phantomsection
% no page numbers on toc pages
\pagestyle{empty}
\renewcommand*{\chapterpagestyle}{empty}
\tableofcontents \tableofcontents
\clearpage \clearpage
\pagestyle{plain}
\renewcommand*{\chapterpagestyle}{plain}
% main % main
\onehalfspacing \onehalfspacing
\pagenumbering{arabic}
\chapter{Einleitung} \chapter{Einleitung}
\lipsum \lipsum
@ -89,10 +86,12 @@
\singlespacing \singlespacing
% bibliography % bibliography
\printbibliography \unnumberedchapter{Quellen- und Literaturverzeichnis}
\nocite{*} % FIXME: remove once I actually cite something
\printbibliography[keyword=Quelle, heading=quellenheading]
\printbibliography[notkeyword=Quelle, heading=subbibliography]
\chapter*{Eigenständigkeitserklärung} \chapter*{Eigenständigkeitserklärung}
\addcontentsline{toc}{chapter}{Eigenständigkeitserklärung}
\lipsum \lipsum