From 4d6cd8c07e54b871bd019e3af7ae507f74d3df8e Mon Sep 17 00:00:00 2001 From: Simon Bruder Date: Thu, 22 Apr 2021 15:36:26 +0200 Subject: [PATCH] Implement formatting requirements --- default.nix | 3 +- seminararbeit.tex | 70 +++++++++++++++++++++++++++++++++-------------- 2 files changed, 51 insertions(+), 22 deletions(-) diff --git a/default.nix b/default.nix index 295c24a..d0e8a2d 100644 --- a/default.nix +++ b/default.nix @@ -14,12 +14,13 @@ let inherit (pkgs.texlive) scheme-small biber biblatex - biblatex-iso690 csquotes datetime2 datetime2-german + geschichtsfrkl latexmk lipsum + setspace tracklang; }; in diff --git a/seminararbeit.tex b/seminararbeit.tex index 48cf666..eed0f6c 100644 --- a/seminararbeit.tex +++ b/seminararbeit.tex @@ -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}