-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMain.tex
97 lines (72 loc) · 2.45 KB
/
Main.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
\documentclass[english, a4paper, 12pt, twoside]{insea}
% based on the NHH master template thesis template made by Endre Bjørndal
\date{Juin 2021}
\title{INSEA Template}
\author{Abdessabour \and Moutik}
\supervisor{1st Supervisor's Name\and 2nd}
\graphicspath{{Images/}{../Images/}}
\setbib{References}
% ----- Document starts here -----
\begin{document}
\def\biblio{} % resets the biblio command, if not here a new reference list will be produced after every chapter
\maketitle
\restoregeometry % restores the margins after frontpage
%\nocite{*} % uncomment if you want all sources to be printed in the reference list, including the ones which are not cited in the text
\pagenumbering{gobble} % suppress page numbering
\thispagestyle{plain} % suppress header
\clearpage\mbox{}\clearpage % add blank page
\pagenumbering{roman} % starting roman page numbering
\newpage
\subfile{Chapters/Acknowledgements}
\newpage
\section*{Abstract}
\subfile{Chapters/Abstract}
\newpage
\tableofcontents
\listoffigures
\listoftables
\newpage
\pagenumbering{arabic} % Starting arabic page numbering
\setcounter{page}{1} % sets pagecounter to 1
\section*{Introduction} % section/chapter name
\markboth{Introduction}{Introduction}
\addcontentsline{toc}{section}{Introduction}
\subfile{Chapters/01Introduction} % including the subfile for the chapter
\clearpage % clears the page after the chapter is finished
\section{Background}
\subfile{Chapters/02Background}
\clearpage
\section{Data}
\subfile{Chapters/03Data}
\clearpage
\section{Methodology}
\subfile{Chapters/04Methodology}
\clearpage
\section{Analysis}
\subfile{Chapters/05Analysis}
\clearpage
\section{Discussion}
\subfile{Chapters/06Discussion}
\clearpage
\section{Conclusion}
\subfile{Chapters/07Conclusion}
\clearpage
\newpage
\renewcommand\refname{Réferences} % name for the reference list
{\setstretch{1.0} % linespacing for the references
\addcontentsline{toc}{section}{\refname} % to change the name of the references in the TOC
\bibliography{References.bib} % adds the references to the document
}
\newpage
\renewcommand{\appendixpagename}{Annexe} % Heading of appendix
\renewcommand{\appendixtocname}{Annexe} % name of appendix in TOC
\appendixpage
\addappheadtotoc
\begin{appendices}
\subfile{Chapters/Appendix}
\end{appendices}
% TIPS AND TRICKS - REMOVE WHEN YOU DON'T NEED IT ANYMORE
\newpage
\section{Tips and tricks to get you started}
\subfile{Chapters/Tips}
\end{document}