\include{Formatting/preambule}


\begin{document}
\input{Formatting/frontPage_HGSFP}
%\input{Formatting/frontPage_ENG}
%\input{Formatting/frontPage_GER}
%
%\setstretch{1.2}{
    \input{OtherSources/abstract_ENG}
    \input{OtherSources/abstract_GER}      
    \input{OtherSources/acknowledgement}  
    \input{OtherSources/preface}                
}
%\newpage\null\thispagestyle{empty}\newpage 

%\cleardoublepage
%
\setstretch{1.3}{
	\pagenumbering{gobble} %Remove the stupid page numbergin
    \thispagestyle{empty}
    \tableofcontents
    \clearpage
    %
    \thispagestyle{empty}
    \listoffigures
    \clearpage
    %
    \thispagestyle{empty}
    \listoftables
   \clearpage
   %
   \thispagestyle{empty}
    \listofabbrev   
    \cleardoublepage %TODO: maybe fix this
    \newpage\null\thispagestyle{empty}\newpage 
    \newpage\null\thispagestyle{empty}\newpage 
}


\newpage 
\newgeometry{top=2cm,bottom=2cm,outer=2cm,inner=3cm,includeheadfoot}
\pagestyle{fancy}
\fancyhead[RE,LO]{}\setlength{\headheight}{14.5pt}
\fancyhead[RO]{\leftmark}
\fancyhead[LE]{\textit{\rightmark}}
\renewcommand{\headrulewidth}{0pt}
\pagenumbering{arabic}

	
%List of abbreviations
\input{OtherSources/ListOfAbbrev}  

%\input{OtherSources/citeTest}

%Intro 
\setstretch{1.5}{\input{./Chapters/Introduction/intro}}   

% Main chapters
\setstretch{1.25}{
    
    %Set margin of wrapfigures
    \setlength{\columnsep}{25pt}
                
    %Input chapters    
	\input{./Chapters/StandardModel/standardModel}\newpage\null\thispagestyle{empty}\newpage 
    \input{./Chapters/LHCbExperiment/lhcb}
    \input{./Chapters/AnalysisTheory/anaTheroy}\newpage\null\thispagestyle{empty}\newpage 
    \input{./Chapters/AnalysisIntroduction/anaIntro}\newpage\null\thispagestyle{empty}\newpage 
    \input{./Chapters/EventSelection/eventSelection}\newpage\null\thispagestyle{empty}\newpage 
    \input{./Chapters/Acceptance/acceptance}\newpage\null\thispagestyle{empty}\newpage 
    \input{./Chapters/ParameterMeasurement/parameterMeasurement}\newpage\null\thispagestyle{empty}\newpage  
    \input{./Chapters/Validation/validation} \newpage\null\thispagestyle{empty}\newpage  
    \input{./Chapters/Toys/toys}    
    \input{./Chapters/TrackEff/trackEff}
}


%Conclusion
\newpage\null\thispagestyle{empty}\newpage 
\setstretch{1.5}{\input{./Chapters/Conclusions/conclusions}}  

%References
\newpage\null\thispagestyle{empty}\newpage 
\setstretch{1.25}{\input{References/references}}
\newpage\null\thispagestyle{empty}\newpage 

\appendix 
%Appendices 
\setstretch{1.1}{
	\input{Appendix/appendix_0}
	\clearpage
	\input{Appendix/appendix_1} \newpage\null\thispagestyle{empty}\newpage 
    \clearpage
    \input{Appendix/appendix_2}
    \clearpage
    \input{Appendix/appendix_3} 
    \clearpage
    \input{Appendix/appendix_4}
    \clearpage
    \input{Appendix/appendix_5}
    \clearpage
    \newpage\null\thispagestyle{empty}\newpage 
    \newpage\null\thispagestyle{empty}\newpage 
}

\end{document}
    
    