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
Simon Bruder 5b93836af0
Also set top and bottom margins to 25mm
If the top and bottom margins are set by typearea, but the left and
right margins are forced by geometry, it doesn’t look right.
2021-06-26 11:50:08 +02:00

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=25mm, bottom=25mm]{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}