% -----------------------------------------------------------------------------------
% This template is brought to you by the Laboratory for                             %
% Electrical Instrumentation and Embedded Systems                                   %
% at the Albert-Ludwigs-Universität in Freiburg                                     %
%                                                                                   %
% Please note: We do not provide technical support for this template                %
% However, please feel free to contribute to this template on GitHub                %
% https://github.com/imtekalex/emes_template                                        %
%                                                                                   %
% Special thanks go out to                                                          %
% Till Steinmann and Andreas Reichenbach                                            %
% -----------------------------------------------------------------------------------
% ToDo:
% Centralize Language settings so that individual chapters are also built correctly.
% Speed up build process
% Document settings
\input{settings+/docclass}
\input{settings+/settings}  % Custom variables are located in settings+/variables.tex
% -----------------------------------------------------------------------------------
% Information about the work and the author
% -----------------------------------------------------------------------------------
% Author
\author{Your Name}
\matrikelnr{1234567}
% -----------------------------------------------------------------------------------
% English chair and thesis info
% -----------------------------------------------------------------------------------
\institute{IMTEK -- Department of Microsystems Engineering}
\chair{Laboratory for Electrical Instrumentation and Embedded Systems}
\thesisType{Master's Thesis}
\thesisTitle{Creation of a \LaTeX~Template for\\Students to use for their Thesis}
\submitDate{March 10, 2022}
\editingTime{July 13, 2021 - March 10, 2022}
% Examiners
\firstExaminer{Prof. Dr. Stefan Rupitsch}
\firstExaminerDepartment{IMTEK -- Department of Microsystems Engineering}
\firstExaminerChair{Laboratory for Electrical Instrumentation and Embedded Systems}
\secondExaminer{Prof. Dr. Max Doe}
\secondExaminerDepartment{IMTEK -- Department of Microsystems Engineering}
\secondExaminerChair{Laboratory for something that likely has a long title as well}
% Supervisor
\supervisor{M.Sc. Max Doe}
\supervisorDepartment{IMTEK -- Department of Microsystems Engineering}
\supervisorChair{Laboratory for Electrical Instrumentation and Embedded Systems}
% -----------------------------------------------------------------------------------
% German chair and thesis info
% -----------------------------------------------------------------------------------
% \chair{Professur für Elektrische Messtechnik und Eingebettete Systeme}
% \institute{IMTEK -- Institut für Mikrosystemtechnik}
% \thesisType{Master Thesis}
% \thesisTitle{Erstellung einer \LaTeX~Vorlage für\\
%             Abschlussabeiten von Studierenden}
% \submitDate{10. März 2022}
% \editingTime{13. Juli 2021 - 10. März 2022}
% % Examiners
% \firstExaminer{Prof. Dr. Stefan Rupitsch}
% \firstExaminerDepartment{IMTEK -- Institut für Mikrosystemtechnik}
% \firstExaminerChair{Professur für Elektrische Messtechnik und Eingebettete Systeme}
% \secondExaminer{Prof. Dr. Max Musterperson}
% \secondExaminerDepartment{IMTEK -- Institut für Mikrosystemtechnik}
% \secondExaminerChair{Professur für irgendwas mit sicherlich ziemlich langem titel}
% % Supervisor
% \supervisor{M.Sc. Max Musterperson}
% \supervisorDepartment{IMTEK -- Institut für Mikrosystemtechnik}
% \supervisorChair{Professur für Elektrische Messtechnik und Eingebettete Systeme}
% -----------------------------------------------------------------------------------
% Main document
% -----------------------------------------------------------------------------------
\begin{document}
    % -------------------------------------------------------------------------------
    % Language settings
    % -------------------------------------------------------------------------------
    % The default language is English
    % \selectlanguage{ngerman}  % Toggle ON/OFF
    % Language-specific settings that change automatically
    \input{settings+/language}
    % -------------------------------------------------------------------------------
    % Cover page
    % -------------------------------------------------------------------------------
    \input{settings+/front_matter/covers/cover}                     \cleardoublepage
    % -------------------------------------------------------------------------------
    % Abstract, Zusammenfassung, ToC
    % Lists: Symbols, Acronyms, Figures, Tables, Codes
    % -------------------------------------------------------------------------------
    % Abstract in English and German
    \pagenumbering{Roman}  % I, II, III..
    \input{chapters/abstract}                                             \clearpage
    \input{chapters/zusammenfassung}                                      \clearpage
    % Table of contents
    \tableofcontents                                                      \clearpage
    % List of Symbols & Acronyms
    \input{settings+/front_matter/lists&indexes/symbols}                  \clearpage
    \input{settings+/front_matter/lists&indexes/acronyms}                 \clearpage
    % List of Figures & Tables
    \input{settings+/front_matter/lists&indexes/figureindex}              \clearpage
    \input{settings+/front_matter/lists&indexes/tableindex}               \clearpage
    % List of C++,C,Python,... Code listings
    \input{settings+/front_matter/lists&indexes/codeindex}                \clearpage
    % -------------------------------------------------------------------------------
    % Main Content
    % -------------------------------------------------------------------------------
    % Introduction, Goals of the work, Fundamentals, State of the Art, Content,
    % Simulation, Real World Experiment, Outlook, Acknowledgements
    \cleardoublepage
    \pagenumbering{arabic}  % 1, 2, 3..
    \input{chapters/introduction}                                         \clearpage
    \input{chapters/theory}                                               \clearpage
    \input{chapters/sota}                                                 \clearpage
    \input{chapters/implementation}                                       \clearpage
    \input{chapters/experiment}                                           \clearpage
    \input{chapters/discussion}                                           \clearpage
    \input{chapters/summary}                                              \clearpage
    \input{chapters/conclusion}                                           \clearpage
    \input{chapters/outlook}                                              \clearpage
    \input{chapters/acknowledgments}                                      \clearpage
    % Bibliography
    \printbibliography[heading=bibintoc]                            \cleardoublepage
    % -------------------------------------------------------------------------------
    % Appendix and Glossary
    % -------------------------------------------------------------------------------
    \pagenumbering{Alph} % A, B, C..
    % Appendix
    \input{chapters/appendix}                                             \clearpage
    % print main glossary
    %       type=main           glossary
    %       type=symbolslist    list of symbols
    %       type=acronyms       list of acrononyms
    \printglossary[type=main]
    % Either print all entries or only used entries for all lists
    \glsaddallunused
\end{document}