INSEA Thesis Template PDF
INSEA Thesis Template PDF
INSEA Thesis Template PDF
INSEA
Sujet:
INSEA Template
Dédicace
Remerciement
Nous tenons à remercier dans un premier lieu notre école ; L’institut Nationalal
de Statistique et d’Economie Appliquée à Rabat, . . .
...
Abstract
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Ut purus elit, vestibulum
ut, placerat ac, adipiscing vitae, felis. Curabitur dictum gravida mauris. Nam arcu libero,
nonummy eget, consectetuer id, vulputate a, magna. Donec vehicula augue eu neque.
Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis
egestas. Mauris ut leo. Cras viverra metus rhoncus sem. Nulla et lectus vestibulum urna
fringilla ultrices. Phasellus eu tellus sit amet tortor gravida placerat. Integer sapien est,
iaculis in, pretium quis, viverra ac, nunc. Praesent eget sem vel leo ultrices bibendum.
Aenean faucibus. Morbi dolor nulla, malesuada eu, pulvinar at, mollis ac, nulla. Curabitur
auctor semper nulla. Donec varius orci eget risus. Duis nibh mi, congue eu, accumsan
eleifend, sagittis quis, diam. Duis eget orci sit amet orci dignissim rutrum.
Nam dui ligula, fringilla a, euismod sodales, sollicitudin vel, wisi. Morbi auctor
lorem non justo. Nam lacus libero, pretium at, lobortis vitae, ultricies et, tellus. Donec
aliquet, tortor sed accumsan bibendum, erat ligula aliquet magna, vitae ornare odio
metus a mi. Morbi ac orci et nisl hendrerit mollis. Suspendisse ut massa. Cras nec ante.
Pellentesque a nulla. Cum sociis natoque penatibus et magnis dis parturient montes,
nascetur ridiculus mus. Aliquam tincidunt urna. Nulla ullamcorper vestibulum turpis.
Pellentesque cursus luctus mauris.
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
1 This is a heading . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
1.1 This is a subheading . . . . . . . . . . . . . . . . . . . . . . . . . 2
1.2 This is a subsubheading . . . . . . . . . . . . . . . . . . . . . . . 3
2 Background . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
3 Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
4 Methodology . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
5 Analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
6 Discussion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
7 Conclusion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Réferences . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Annexe 13
A1 Test . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
1 Tips and tricks to get you started . . . . . . . . . . . . . . . . . . . . . . 14
2 Adding chapters or sections . . . . . . . . . . . . . . . . . . . . . . . . . 14
3 Headings and subsections . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
4 Figures, tables and equations . . . . . . . . . . . . . . . . . . . . . . . . 15
4.1 Figures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
4.2 Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
4.3 Equations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
4.4 Appendix . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
5 References . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
6 Some useful notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
iv
Table des figures
v
Liste des tableaux
vi
Introduction 1
Introduction
1 This is a heading
Suspendisse vitae elit. Aliquam arcu neque, ornare in, ullamcorper quis, commodo
eu, libero. Fusce sagittis erat at erat tristique mollis. Maecenas sapien libero, molestie et,
lobortis in, sodales eget, dui. Morbi ultrices rutrum lorem. Nam elementum ullamcorper leo.
Morbi dui. Aliquam sagittis. Nunc placerat. Pellentesque tristique sodales est. Maecenas
imperdiet lacinia velit. Cras non urna. Morbi eros pede, suscipit ac, varius vel, egestas
non, eros. Praesent malesuada, diam id pretium elementum, eros sem dictum tortor, vel
consectetuer odio sem sed wisi.
Sed feugiat. Cum sociis natoque penatibus et magnis dis parturient montes,
nascetur ridiculus mus. Ut pellentesque augue sed urna. Vestibulum diam eros, fringilla
et, consectetuer eu, nonummy id, sapien. Nullam at lectus. In sagittis ultrices mauris.
Curabitur malesuada erat sit amet massa. Fusce blandit. Aliquam erat volutpat. Aliquam
euismod. Aenean vel lectus. Nunc imperdiet justo nec dolor.
Etiam euismod. Fusce facilisis lacinia dui. Suspendisse potenti. In mi erat, cursus
id, nonummy sed, ullamcorper eget, sapien. Praesent pretium, magna in eleifend egestas,
pede pede pretium lorem, quis consectetuer tortor sapien facilisis magna. Mauris quis
magna varius nulla scelerisque imperdiet. Aliquam non quam. Aliquam porttitor quam
a lacus. Praesent vel arcu ut tortor cursus volutpat. In vitae pede quis diam bibendum
placerat. Fusce elementum convallis neque. Sed dolor orci, scelerisque ac, dapibus nec,
ultricies ut, mi. Duis nec dui quis leo sagittis commodo.
Aliquam lectus. Vivamus leo. Quisque ornare tellus ullamcorper nulla. Mauris
porttitor pharetra tortor. Sed fringilla justo sed mauris. Mauris tellus. Sed non leo. Nullam
elementum, magna in cursus sodales, augue est scelerisque sapien, venenatis congue nulla
arcu et pede. Ut suscipit enim vel sapien. Donec congue. Maecenas urna mi, suscipit in,
placerat ut, vestibulum ut, massa. Fusce ultrices nulla et nisl.
Etiam ac leo a risus tristique nonummy. Donec dignissim tincidunt nulla.
Vestibulum rhoncus molestie odio. Sed lobortis, justo et pretium lobortis, mauris turpis
condimentum augue, nec ultricies nibh arcu pretium enim. Nunc purus neque, placerat
id, imperdiet sed, pellentesque nec, nisl. Vestibulum imperdiet neque non sem accumsan
2 1. This is a heading
laoreet. In hac habitasse platea dictumst. Etiam condimentum facilisis libero. Suspendisse
in elit quis nisl aliquam dapibus. Pellentesque auctor sapien. Sed egestas sapien nec lectus.
Pellentesque vel dui vel neque bibendum viverra. Aliquam porttitor nisl nec pede. Proin
mattis libero vel turpis. Donec rutrum mauris et libero. Proin euismod porta felis. Nam
lobortis, metus quis elementum commodo, nunc lectus elementum mauris, eget vulputate
ligula tellus eu neque. Vivamus eu dolor.
Nulla ac nisl. Nullam urna nulla, ullamcorper in, interdum sit amet, gravida ut,
risus. Aenean ac enim. In luctus. Phasellus eu quam vitae turpis viverra pellentesque. Duis
feugiat felis ut enim. Phasellus pharetra, sem id porttitor sodales, magna nunc aliquet
nibh, nec blandit nisl mauris at pede. Suspendisse risus risus, lobortis eget, semper at,
imperdiet sit amet, quam. Quisque scelerisque dapibus nibh. Nam enim. Lorem ipsum
dolor sit amet, consectetuer adipiscing elit. Nunc ut metus. Ut metus justo, auctor at,
ultrices eu, sagittis ut, purus. Aliquam aliquam.
Etiam pede massa, dapibus vitae, rhoncus in, placerat posuere, odio. Vestibulum
luctus commodo lacus. Morbi lacus dui, tempor sed, euismod eget, condimentum at,
tortor. Phasellus aliquet odio ac lacus tempor faucibus. Praesent sed sem. Praesent iaculis.
Cras rhoncus tellus sed justo ullamcorper sagittis. Donec quis orci. Sed ut tortor quis
tellus euismod tincidunt. Suspendisse congue nisl eu elit. Aliquam tortor diam, tempus
id, tristique eget, sodales vel, nulla. Praesent tellus mi, condimentum sed, viverra at,
4 1. This is a heading
consectetuer quis, lectus. In auctor vehicula orci. Sed pede sapien, euismod in, suscipit in,
pharetra placerat, metus. Vivamus commodo dui non odio. Donec et felis.
2. Background 5
2 Background
I am here citing one of my sources (James et al., 2013).
6 3. Data
3 Data
4. Methodology 7
4 Methodology
8 5. Analysis
5 Analysis
6. Discussion 9
6 Discussion
10 7. Conclusion
7 Conclusion
Bibliographie
James, G., Witten, D., Hastie, T., and Tibshirani, R. (2013). An introduction to statistical
learning, volume 112. Springer.
11
Annexe
12
13
A1 Test
\documentclass[../Main.tex]{subfiles}
\begin{document}
\biblio
\end{document}
Also add the filepath of that new section to Main.tex. The sections will be ordered in the
final pdf the way you order them in Main.tex. Here is one example where the section/subfile
is named NewSection.tex and is in the Chapters folder :
\section{Name of section}
\subfile{Chapters/NewSection}
the table of contents. One can have different levels of headings using \subsubsection{}
or \paragraph{} . The different headings will be marked X.1 for subsections, X.1.1 for
subsubsections and X1.1.1 for paragraphs, where X represents the chapters.
4.1 Figures
Figures and images are added using the the following environment :
\begin{figure}[H]
\centering
\caption{INSEA-logo}
\includegraphics[width=0.2\columnwidth]{img/logo.png}
\label{fig:logo}
\end{figure}
The code above will produce Figure 4.1.1. One can use many fileformats here including
pdf, png, jpeg, jpg etc. The caption can be placed above or below the image and appear in
the compiled pdf according to where you place it. The \label{} command has to come
after the caption and is used for referencing the figure later in the document with the
\ref{} command. The numbering of figures, tables and equations will change according
to chapter. E.g. Figure 3.1, Table 2.4, Equation 6.2. All of them have separate counters so
one can have Table 4.2 and Figure 4.2 in the same document.
4.2 Tables
Tables can be designed any way you like. Tables are numbered the same way as
figures and can also be referenced directly if you give them a label. There are several
LATEX table generators online, for example https://www.tablesgenerator.com/, which work
very well. There are also some packages in R mainly xtable/kable which transforms
R-data.frames to LATEX tables/code. This can be very helpful and save a lot of time if you
are working with R. The following code produces Table 4.2.1.
\begin{table}[H]
\centering
\caption{Variables in datasett}
\begin{tabular}{rr}
\hline
\hline
Variable name & Type of variable\\
\hline
Postal code & Categorical \\
Date of birth & Date \\
Municipality & Categorical \\
Type of car & Categorical\\
Registration date & Date \\
Sex & Categorical\\
Age & Numerical \\
\hline
\hline
\label{tab:Variables}
\end{tabular}
\end{table}
4.3 Equations
Equations are something that could be a problem in many other programs
which creates documents, e.g. Word. LATEX is used by many researchers which writes
a lot of equations because it’s clean and easy for this purpose. There are code strings
for Greek letters, special symbols, mathematical symbols etc. Equations are normally
numbered. To create numbered equations one uses an equation environment, see below.
The environment/code chunk displayed creates equation 4.1. The numbering of equations
also follow the chapters. One can also write inline equations in a paragraph using two
dollar signs, $$, and writing inside the dollar signs. E.g. $x+x=y$ will produce x + x = y.
\begin{equation} \label{equ:test}
\hat{f}(x) = \sum^B_{b=1}\lambda \hat{f}^b(x)
\end{equation}
B
X
fˆ(x) = λfˆb (x) (4.1)
b=1
4.4 Appendix
In the appendix the numbering is changed. Every section is number A1, A2, A3
etc. Figures, tables and equations are numbered according to their subsection, Figure
A1.3, Table A3.5 etc.
5 References
Referencing in LATEX can be done many different ways, with many different
packages. In this template the package natbib and the the apa style is used for referencing.
Most referencing packages have a similar setup. In the Refererence.bib file you can find
several examples of how to add a source to the document. After a sources has been added
to the .bib file one can cite it in the text using several commands. I recommend reading
the following link for more information regarding citation using natbib : https://www.
overleaf.com/learn/latex/Natbib_citation_styles. Another common package for referencing
and citation is biblatex. Only sources that are cited within the text will appear in the
reference list. One can use a command called nocite to list all references in the .bib file,
18 6. Some useful notes
even the ones not cited in text. If you find your source on Google scholar you can get
the code chunk needed to add the source to your LATEX .bib file directly. This is done by
clicking the citation button and choosing BibTex in Google scholar.
If you are using this template in English do not touch the apaeng.bst file as this
is necessary for proper citation and a proper reference list. The apaeng.bst file ensures
citation in the APA style. If you wish to use another style I would recommend the
following site : https://www.overleaf.com/learn/latex/Natbib_bibliography_styles. If you
want to change the citation style all you have to do is switch from ”apaeng” in line 71 and
72 of the Main.tex file, to one of the style names mention in the link. The apaeng.bst file
is added to this template to make it more stable.