% \documentclass[a4paper, UTF8, 12pt]{article}
% \documentclass[a4paper, UTF8, 12pt]{scrbook}
\documentclass[parskip=half, a4paper, 12pt]{scrartcl}

\usepackage[german]{babel}
\usepackage[dvipsnames]{xcolor}
% \usepackage{tikz}
% \usetikzlibrary{positioning}
% \usetikzlibrary{calc}
% \usetikzlibrary{arrows}
% \usetikzlibrary{intersections}
% \usepackage{tikz-uml}
% \usepackage{pgf-umlsd}
% \usepgflibrary{arrows} % for pgf-umlsd
% \tikzumlset{fill usecase=white}
\usepackage[margin=2.5cm]{geometry}
\usepackage{csquotes}
\usepackage[T1]{fontenc}
\usepackage{amsmath}
\usepackage{pdflscape}
\usepackage{graphicx}
\usepackage{caption}
\usepackage{subcaption}
\usepackage{float}
\usepackage{enumitem}
% \usepackage{textpos}
\usepackage{hyperref}
\usepackage{fancyhdr}
% \usepackage{multicol}
\usepackage{rest-api}
\usepackage{wrapfig}
\usepackage{textcomp}
\usepackage{ulem}
\usepackage{fourier} 
\usepackage{array}
\usepackage{makecell}


\hypersetup{
% ‘texdoc hyperref‘ for options
    pdftitle={
        PSE\textsuperscript{2} 
        - Podcast Synchronisation made Efficient Pflichtenheft
    },
    bookmarks=true,
}
\usepackage{csquotes}
\usepackage[toc]{glossaries}
\usepackage{lastpage}

\renewcommand\theadalign{bc}
\renewcommand\theadfont{\bfseries}
\renewcommand\theadgape{\Gape[4pt]}
\renewcommand\cellgape{\Gape[4pt]}

\include{sections/glossar}

\title{Pflichtenheft}
\author{KIT Students et al}
\date{2.12.2022}

\pagestyle{fancy}
\setkomafont{pageheadfoot}{\footnotesize\scshape}
\fancyhead{} % clear all header fields
% \fancyhead[L]{Pflichtenheft}
\fancyhead[L]{PSE\textsuperscript{2} - Podcast Synchronisation made Efficient}
% \fancyhead[R]{2.12.2022}
\fancyfoot{} % clear all footer fields
\fancyfoot[R]{\thepage{} / \pageref{LastPage}}
\fancyfoot[L]{Praxis der Softwareentwicklung}
\fancyfoot[C]{}

\begin{document}

\include{titlepage}
\setcounter{page}{1}

\tableofcontents

\include{sections/einleitung}

\include{sections/methodology}

\include{sections/frontend}
\newpage

\include{sections/changes}

\include{sections/timeline}

\include{sections/features}

\include{sections/tests}

\printglossaries
% \glsaddall

\end{document}
