Implement formatting requirements

master
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
biber
biblatex
biblatex-iso690
csquotes
datetime2
datetime2-german
geschichtsfrkl
latexmk
lipsum
setspace
tracklang;
};
in

View File

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