% General Tips:
% 1) Make sure to edit the classicthesis-config.file
% 2) New enumeration (A., B., C., etc in small caps): \begin{aenumerate} \end{aenumerate}
% 3) For margin notes: \marginpar or \graffito{}
% 4) Do not use bold fonts in this style, it is designed around them
% 5) Use tables as in the examples
% 6) See classicthesis-preamble.sty for useful commands
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%----------------------------------------------------------------------------------------
%	PACKAGES AND OTHER DOCUMENT CONFIGURATIONS
%----------------------------------------------------------------------------------------

\documentclass[%draft,
		twoside,openright,titlepage,numbers=noenddot,headinclude,%1headlines,
                footinclude=true,cleardoublepage=empty,
                BCOR=5mm,paper=a4,fontsize=11pt, % Binding correction, paper type and font size
                american, % Languages
                ]{scrreprt} 


                
% Includes the file which contains all the document configurations and packages - make sure to edit this file
\input{classicthesis-config_GL}

\begin{document}

\setlength{\emergencystretch}{2em} % to avoid some overfull hbox

\frenchspacing % Reduces space after periods to make text more compact

\raggedbottom % Makes all pages the height of the text on that page

\selectlanguage{american} % Select your default language - e.g. american or ngerman

%\renewcommand*{\bibname}{new name} % Uncomment to change the name of the bibliography
%\setbibpreamble{} % Uncomment to include a preamble to the bibliography - some text before the reference list starts

\pagenumbering{roman} % Roman page numbering prior to the start of the thesis content (i, ii, iii, etc)

\pagestyle{plain} % Suppress headers for the pre-content pages

\newcolumntype{R}{>{\raggedleft\arraybackslash}X} %one additionnal column style for tabularx (right aligned)

%----------------------------------------------------------------------------------------
%	PRE-CONTENT THESIS PAGES
%----------------------------------------------------------------------------------------

\cleardoublepage\include{FrontBackMatter/Titlepage} % Main title page

\cleardoublepage\include{FrontBackMatter/Titlepage} % Main title page

\cleardoublepage\include{FrontBackMatter/Abstract} % Abstract page

\cleardoublepage\include{FrontBackMatter/Abstract_fr} % Abstract in french page

\cleardoublepage\include{FrontBackMatter/copyright} % Publications from the thesis page

\cleardoublepage\include{FrontBackMatter/Acknowledgments} % Acknowledgements page

\cleardoublepage\include{FrontBackMatter/Publication} % Publications from the thesis page

\pagestyle{scrheadings} % Show chapter titles as headings

\cleardoublepage\include{FrontBackMatter/Contents} % Contents, list of figures/tables/listings and acronyms

\cleardoublepage

\pagenumbering{arabic} % Arabic page numbering for thesis content (1, 2, 3, etc)
%\setcounter{page}{90} % Uncomment to manually start the page counter at an arbitrary value (for example if you wish to count the pre-content pages in the page count)

\cleardoublepage % Avoids problems with pdfbookmark

%----------------------------------------------------------------------------------------
%	THESIS CONTENT - CHAPTERS
%----------------------------------------------------------------------------------------

\include{Chapters/Chapter1}
\include{Chapters/Chapter2} 

\sisetup{
	range-phrase=--,
	range-units=single
}

\include{Chapters/Chapter3} 
\include{Chapters/Chapter4} 
\include{Chapters/Chapter5} 
\include{Chapters/Chapter6}

%----------------------------------------------------------------------------------------
%	APPENDICES
%----------------------------------------------------------------------------------------

\appendix
%----------------------------------------------------------------------------------------
%	POST-CONTENT THESIS PAGES
%----------------------------------------------------------------------------------------
%\nocite{*}
\cleardoublepage\include{FrontBackMatter/Bibliography} % Bibliography
%\cleardoublepage\include{FrontBackMatter/Colophon} % Colophon
%\cleardoublepage\include{FrontBackMatter/Declaration} % Declaration
%----------------------------------------------------------------------------------------

\end{document}
