\documentclass{thesis}
\input{preamble}
% for german language type 'ngernman' as option for babel package in in preamble.tex
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% PDF SETTINGS
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\hypersetup{
pdfauthor={Max Muster},
pdftitle={Beispieltext},
pdfsubject={Not set},
pdfkeywords={Not set}
}
\hypersetup{hidelinks} % hides boxes around hyperlinks uncomment this with ctrl+shift+7
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% BEGIN DOCUMENT
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{document}
\include{titlepage}
\include{abstract}
\renewcommand{\baselinestretch}{1} % decrease line spacing
\tableofcontents
\renewcommand{\baselinestretch}{1.2}
\normalsize
\include{chapter1/chapter}
\include{chapter2/chapter}
\include{summary}
\include{originality}
\appendix
\bibliographystyle{unsrt}
\bibliography{refs}
%table of figures
%\clearpage
%\listoffigures
%\clearpage
%empty page
% \thispagestyle{empty}
% \cleardoublepage
\end{document}