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
2021-04-22 19:01:50 +02:00

72 lines
1.1 KiB
TeX

%! TEX program = xelatex
\documentclass{scrreprt}
\KOMAoptions{
%twocolumn=on,
%DIV=24,
parskip=half,
twoside=on,
}
% hyphenation
\usepackage[ngerman]{babel}
% hyperlinks and pdf toc
\usepackage[unicode, hidelinks]{hyperref}
\usepackage{bookmark}
% cretion of nice dates from numbers
\usepackage[useregional]{datetime2}
% dummy text
\usepackage{lipsum}
% roman font for title
\addtokomafont{disposition}{\rmfamily}
% heading
\usepackage[automark, headsepline]{scrlayer-scrpage}
\pagestyle{scrheadings}
% bibliography
\usepackage{csquotes}
\usepackage[
style=iso-authoryear,
]{biblatex}
\addbibresource{bibliography.bib}
\subject{Seminararbeit}
\title{Titel der Arbeit}
\subtitle{Untertitel}
\author{Simon Bruder}
\date{\DTMdisplaydate{2021}{01}{01}{-1}}
\begin{document}
\maketitle
% pre
\pagenumbering{Roman}
\phantomsection{}
\addcontentsline{toc}{chapter}{Inhaltsverzeichnis}
\tableofcontents{}
% main
\clearpage{}
\pagenumbering{arabic}
\chapter{Einleitung}
\section{lol}
\lipsum
\section{foo}
\lipsum\cite{latexcompanion}
% bibliography
\clearpage
\phantomsection
\addcontentsline{toc}{chapter}{Literatur}
\printbibliography
\end{document}