%============================ MAIN DOCUMENT ================================
% define document class
\documentclass[
	a4paper               % paper format
%	,10.5pt               % fontsize
%	,BCOR=18mm            % Binding correction
	,bibliography=totoc   % If enabled add bibliography to TOC
	,listof=totoc         % If enabled add lists to TOC
	,monolingual,
]{bfhthesis}              % KOMA-script report

\usepackage[
	hidelinks,
	pdfusetitle,
]{hyperref}

\usepackage{pdfpages}

\usepackage{bytefield}

\usepackage{tabularray}
\NewTblrEnviron{reqTblr}%
\SetTblrInner[reqTblr]{%
	rows = {bg=BFH-table},
	hlines = {white,\BFHarrayrulewidth},
	stretch=1.1,
	column{1}	= {bg=BFH-tablehead}
}
% Add space between paragraphs
\usepackage{parskip}

\graphicspath{ {thesis/assets/} }

\usepackage{pgfgantt}
\usepackage{rotating}

\usepackage{siunitx}
\sisetup{per-mode=symbol}

\usepackage{float}

% https://tex.stackexchange.com/a/24827
\makeatletter
\def\input@path{{thesis/content}}
\makeatother

\setcounter{tocdepth}{1}

\usepackage[nonumberlist]{glossaries}
\makeglossaries
\input{_glossary.tex}

\begin{document}

\frontmatter

\title{Inductive Short-Range Communication Channel}
\author{Severin Kaderli}
\institution{Bern University of Applied Sciences}
\department{Engineering and Computer Science }
\version{0.0.1}
\advisor{Dr. Reto König}
\expert{Thomas Jäggi}
\degreeprogram{Bachelor of Science in Computer Science} 


%----------------  BFH tile page   -----------------------------------------
\maketitle
\input{00_abstract.tex}


%------------ TABLEOFCONTENTS ----------------
\tableofcontents

%------------ START MAIN PART ----------------
\mainmatter

\input{01_introduction.tex}
\input{02_preliminaries.tex}
\input{03_personas.tex}
\input{04_requirements.tex}
\input{05_solution.tex}
\input{06_testing.tex}
\input{07_benchmarking.tex}
\input{08_materials_methods.tex}
\input{09_future_work.tex}
\input{10_project_management.tex}

\declarationOfAuthorship

\cleardoublepage
\begingroup
	\raggedright
	\bibliographystyle{IEEEtran} 
	\bibliography{thesis/thesis.bib}
\endgroup

% Glossary
\printglossary
\addcontentsline{toc}{chapter}{\glossaryname}

\listoffigures
\listoftables

\appendix
\chapter{Task Description}
\begin{figure}
        \centering
        \includepdf[pages=-, scale=.75, offset=-30 -50]{appendix/task_description.pdf}
\end{figure}

\end{document}
