This repository has been archived on 2024-01-28. You can view files and clone it, but cannot push or open issues or pull requests.
seminararbeit/seminararbeit.tex

98 lines
1.7 KiB
TeX

%! TEX program = xelatex
% vim: set spell spelllang=de:
\documentclass{scrreprt}
\KOMAoptions{
% layout
DIV=11,
usegeometry,
% fonts
fontsize=12pt,
parskip=half,
}
% hyphenation
\usepackage[ngerman]{babel}
% hyperlinks and pdf toc
\usepackage[unicode, hidelinks, pdfusetitle]{hyperref}
\usepackage{bookmark}
% creation of nice dates from numbers
\usepackage[useregional]{datetime2}
% dummy text
\usepackage{lipsum}
% roman font for title
%\addtokomafont{disposition}{\rmfamily}
% line height
\usepackage{setspace}
% specified page margins
\usepackage[left=25mm, right=35mm, top=20mm, bottom=20mm]{geometry}
% bibliography
\usepackage{csquotes}
\usepackage[
style=geschichtsfrkl, % implements my citation requirements almost perfectly
]{biblatex}
\addbibresource{bibliography.bib}
\defbibheading{quellenheading}{\section*{Quellen}}
% unnumbered chapter shown in TOC
\newcommand{\unnumberedchapter}[1]{\chapter*{#1}\addcontentsline{toc}{chapter}{#1}}
\subject{Seminararbeit}
\title{Albert Göring}
\subtitle{Der gute Göring?}
\author{Simon Bruder}
\date{\DTMdisplaydate{2021}{01}{01}{-1}}
\begin{document}
\pagenumbering{gobble}
\maketitle
% toc
\tableofcontents
\clearpage
% main
\onehalfspacing
\pagenumbering{arabic}
\chapter{Einleitung}
\lipsum[1-2]
\chapter{Hauptteil}
\section{lol}
\lipsum[1]
\section{foo}
\lipsum[1]
\chapter{Schluss}
\lipsum[1-2]
% appendix
\appendix
\singlespacing
% bibliography
\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}
\lipsum[1-2]
\end{document}