% SPDX-License-Identifier: CC-BY-SA-4.0
%
% Copyright (c) 2020 Philipp Le
%
% Except where otherwise noted, this work is licensed under a
% Creative Commons Attribution-ShareAlike 4.0 License.
%
% Please find the full copy of the licence at:
% https://creativecommons.org/licenses/by-sa/4.0/legalcode


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Configuration
\def\thekindofdocument{Lecture Notes and Exercises}
\def\therevision{1}
\def\therevisiondate{2020-04-27}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Header
\input{../common/settings.tex}

\begin{document}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Title Page
\pagenumbering{Alph}
\pagestyle{empty}

% Title Page
\input{../common/titlepage.tex}
\newpage

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Preface
\pagenumbering{arabic}
\pagestyle{headings}

% Inhaltsverzeichnis
%\tableofcontents
%\newpage

% Imprint
\input{../common/imprint.tex}
\newpage

% Abstract
\input{../common/abstract.tex}
\newpage

\phantomsection
\addcontentsline{toc}{chapter}{Contents}
\tableofcontents
\clearpage

% List of Acronyms
\input{../common/acronym.tex}
\newpage

% Nomenclature
\phantomsection
\addcontentsline{toc}{chapter}{Nomenclature}
\printnomenclature
\newpage

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Content

\input{../chapter00/preface.tex}
\clearpage

\setcounter{chapter}{-1}

\input{../chapter00/content_ch00.tex}
\clearpage
\input{../exercise00/exercise00.tex}
\clearpage

\input{../chapter01/content_ch01.tex}
\clearpage
\input{../exercise01/exercise01.tex}
\clearpage

\input{../chapter02/content_ch02.tex}
\clearpage
\input{../exercise02/exercise02.tex}
\clearpage

\input{../chapter03/content_ch03.tex}
\clearpage
\input{../exercise03/exercise03.tex}
\clearpage

\input{../chapter04/content_ch04.tex}
\clearpage
\input{../exercise04/exercise04.tex}
\clearpage

\input{../chapter05/content_ch05.tex}
\clearpage
\input{../exercise05/exercise05.tex}
\clearpage

\input{../chapter06/content_ch06.tex}
\clearpage
\input{../exercise06/exercise06.tex}
\clearpage

\input{../chapter07/content_ch07.tex}
\clearpage
\input{../exercise07/exercise07.tex}
\clearpage

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Appendix

\begin{appendix}

%\include{appendix/crlb}

\chapter{Solutions of Exercises}

\printsolutions

\end{appendix}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Nachtrag

% References
%\bibliographystyle{unsrt}
%\bibliography{Masterarbeit}

% Notation
%\include{formales/notation}
%\newpage

% List of Symbols
%\include{formales/formelzeichen}
\newpage

% List of Block Diagram Symbols
%\include{formales/blockfigures}
\newpage

% Print default index
\phantomsection
\addcontentsline{toc}{chapter}{Index}
\printindex
\newpage

% List of Figures
\phantomsection
\addcontentsline{toc}{chapter}{\listfigurename}
\listoffigures
\newpage

% List of Tables
\phantomsection
\addcontentsline{toc}{chapter}{\listtablename}
\listoftables
\newpage

% To Do
\pagenumbering{alph}
\listoftodos

\end{document}
