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

\usepackage[german]{babel}
\usepackage[dvipsnames]{xcolor}
\usepackage{tabularx}
% \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}
\usepackage{pgfplots, pgfplotstable}
\usepgfplotslibrary{dateplot}
\pgfplotsset{compat=newest}

\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{Qualitätsheft}
\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}
\newpage

\include{sections/changes}
\newpage

\include{sections/testfaelle}
\newpage

\include{sections/coverage}
\newpage

\include{sections/lasttest}
\newpage

\include{sections/problems}
\newpage

\include{sections/codestyle}

\printglossaries
% \glsaddall

\end{document}
