Implement formatting requirements

This commit is contained in:
Simon Bruder 2021-04-22 15:36:26 +02:00
parent 721bfb2924
commit 4d6cd8c07e
Signed by: simon
GPG key ID: 8D3C82F9F309F8EC
2 changed files with 51 additions and 22 deletions

View file

@ -14,12 +14,13 @@ let
inherit (pkgs.texlive) scheme-small inherit (pkgs.texlive) scheme-small
biber biber
biblatex biblatex
biblatex-iso690
csquotes csquotes
datetime2 datetime2
datetime2-german datetime2-german
geschichtsfrkl
latexmk latexmk
lipsum lipsum
setspace
tracklang; tracklang;
}; };
in in

View file

@ -1,11 +1,16 @@
%! TEX program = xelatex %! TEX program = xelatex
% vim: set spell spelllang=de:
\documentclass{scrreprt} \documentclass{scrreprt}
\KOMAoptions{ \KOMAoptions{
%twocolumn=on, % layout
%DIV=24, DIV=11,
usegeometry,
% fonts
fontsize=12pt,
parskip=half, parskip=half,
twoside=on, % structure
bibliography=totoc, % add bibliography to toc
} }
% hyphenation % hyphenation
@ -22,21 +27,23 @@
\usepackage{lipsum} \usepackage{lipsum}
% roman font for title % roman font for title
\addtokomafont{disposition}{\rmfamily} %\addtokomafont{disposition}{\rmfamily}
% heading % line height
\usepackage[automark, headsepline]{scrlayer-scrpage} \usepackage{setspace}
\pagestyle{scrheadings}
% specified page margins
\usepackage[left=25mm, right=35mm]{geometry}
% bibliography % bibliography
\usepackage{csquotes} \usepackage{csquotes}
\usepackage[ \usepackage[
style=iso-authoryear, style=geschichtsfrkl, % implements my citation requirements almost perfectly
]{biblatex} ]{biblatex}
\addbibresource{bibliography.bib} \addbibresource{bibliography.bib}
\subject{Seminararbeit} \subject{Seminararbeit}
\title{Titel der Arbeit} \title{Albert Göring: Der gute Göring?}
\subtitle{Untertitel} \subtitle{Untertitel}
\author{Simon Bruder} \author{Simon Bruder}
\date{\DTMdisplaydate{2021}{01}{01}{-1}} \date{\DTMdisplaydate{2021}{01}{01}{-1}}
@ -44,28 +51,49 @@
\begin{document} \begin{document}
\maketitle \maketitle
% pre % toc
\pagenumbering{Roman} \phantomsection
\phantomsection{}
\addcontentsline{toc}{chapter}{Inhaltsverzeichnis} % no page numbers on toc pages
\tableofcontents{} \pagestyle{empty}
\renewcommand*{\chapterpagestyle}{empty}
\tableofcontents
\clearpage
\pagestyle{plain}
\renewcommand*{\chapterpagestyle}{plain}
% main % main
\clearpage{} \onehalfspacing
\pagenumbering{arabic}
\chapter{Einleitung} \chapter{Einleitung}
\section{lol}
\lipsum \lipsum
\chapter{Hauptteil}
\section{lol}
\lipsum\cite[17]{latexcompanion}
\lipsum\cite[vgl.][43f.]{latexcompanion}
\section{foo} \section{foo}
\lipsum\cite{latexcompanion}
\lipsum
\chapter{Schluss}
\lipsum
% appendix
\appendix
\singlespacing
% bibliography % bibliography
\clearpage
\phantomsection
\addcontentsline{toc}{chapter}{Literatur}
\printbibliography \printbibliography
\chapter*{Eigenständigkeitserklärung}
\addcontentsline{toc}{chapter}{Eigenständigkeitserklärung}
\lipsum
\end{document} \end{document}