\documentclass[12pt,twoside,openright]{scrbook}

\usepackage[utf8]{inputenc}
\usepackage{amsfonts}
\usepackage{amssymb}

\usepackage[defernumbers=true]{biblatex}
\addbibresource{literatur.bib}

\usepackage{subcaption}
\usepackage[plain]{fancyref}
\usepackage{rotating}

\usepackage{siunitx}
\sisetup{locale = DE}

\usepackage[inline]{enumitem}
\setlist{itemsep=3pt}

\usepackage[font={small,it}]{caption}

\usepackage{hyperref}

\usepackage{csquotes}

\usepackage{amsmath}
\numberwithin{equation}{section}

\usepackage{graphicx}
\graphicspath{ {./graphics/} }

\usepackage{float}
\floatstyle{boxed}  
\restylefloat{wrapfigure}

\usepackage{wrapfig}

\usepackage{multirow}
\usepackage{tabularx}
\usepackage{tablefootnote}

\usepackage{siunitx}

%\usepackage{palatino}

\usepackage{geometry}
\geometry{
 a4paper,
 inner=30mm,
 top=15mm,
 bottom=25mm,
 outer=25mm
}
\usepackage{todonotes}
\setlength{\marginparwidth}{2cm}

\setlength{\parindent}{0pt}
\setlength{\parskip}{1em}

%% CUSTOM MACROS %%
\newcommand{\todoi}[1]{\todo[inline]{#1}}
\newcommand{\cpp}{\texttt{C++}}
\newcommand{\clang}{\texttt{C}}
\newcommand{\euro}[1]{€\,#1}
\newcommand{\fullWidthImage}[3]{
\begin{figure}[h]
	\includegraphics[width=0.9\textwidth]{#1}
	\caption{#2}
	\label{#3}
	\centering
\end{figure}
}
%% END CUSTOM MACROS %%

\hypersetup{
pdftitle={Master Thesis - Nareshkumar Rao},
pdfsubject={Measuring Bulk Material Flow using Commercially-Available LIDAR Sensors},
pdfauthor={Nareshkumar Rao},
pdfkeywords={LIDAR, conveyor belt}
}

\raggedbottom

\begin{document}
\pagestyle{plain}
\emergencystretch 1.5em
\addtolength{\jot}{1em}
\addtokomafont{disposition}{\rmfamily}
\RedeclareSectionCommand[afterskip=1pt]{subsection}
\frontmatter

\include{./0-Cover/Cover}

\include{./I-Abstract/Abstract}
\include{./II-Thanks/Thanks}
\include{./III-Eides/Eides}
%\include{./II-Glossary/Glossary}

\setcounter{secnumdepth}{1}
\setcounter{tocdepth}{1}
\tableofcontents 

\mainmatter

\include{./1-Introduction/Introduction}

\include{./2-StateOfTheArt/StateOfTheArt}

\include{./3-Design/Design}

\include{./4-Validation/Validation}

\include{./5-Conclusion/Conclusion}

%\bibliographystyle{plain}
%\bibliography{literatur}
\printbibheading[heading=bibintoc]
\printbibliography[notkeyword=online,title=Academic References,heading=subbibintoc]
\printbibliography[keyword=online,title=Online References,heading=subbibintoc]

%\listoftodos

\end{document}
