-
Notifications
You must be signed in to change notification settings - Fork 3
/
PhD_Thesis.tex
107 lines (86 loc) · 2.59 KB
/
PhD_Thesis.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
98
99
100
101
102
103
104
105
106
% ------------------------------------------------------------------------
% Title: Template for LMPS-themed thesis (main file)
% Authors:
% - Flavien Loiseau ([email protected]),
% - Alexandre Daby-Seesaram ([email protected])
% Last update: 21/12/2023
% ------------------------------------------------------------------------
\documentclass[12pt,a4paper,openright,tikz]{lmpsthesis}
%%% To remove
\usepackage{lipsum}
%%% Setup metadata
\hypersetup{
pdftitle={TODO},
pdfsubject={Ph.D. Thesis},
pdfauthor={TODO},
pdfkeywords={TODO}
}
%%% Input files
% Bibliography
\addbibresource{biblio.bib}
% Notations
\input{notations}
%%% User packages
% Remarks
\usepackage{amsthm}
\usepackage[most]{tcolorbox}
\tcbset{shield externalize} % Prevent tikz from externalizing tcolorbox
% Fontawesome for icons
\usepackage{fontawesome5}
% Cleverref for easier references
\usepackage[nameinlink,noabbrev,capitalise]{cleveref}
%%% User environments
% Remark
\newtheorem{myremark}{\color{accentcolor} {\footnotesize\reflectbox{\faComment[regular]}}~~Remark}[chapter]
\newtcolorbox{myremarkbox}{breakable,colback=accentcolor!5,boxrule=0pt,frame hidden,enhanced,borderline west={3pt}{0pt}{accentcolor}}
\newenvironment{remark}{%
\begin{myremarkbox}
\begin{myremark}
}{%
\end{myremark}
\end{myremarkbox}
}
% Chapter summary
\newenvironment{chaptersummary}{%
\section*{\faPenNib~~Summary of the Chapter}%
\label{sec:summary_{\thechapter}}
\stepcounter{section}
\addcontentsline{toc}{section}{\protect\numberline{\thesection}Summary of the Chapter}
}{}
%%% User modifications
% Change default positioning arguments for floats (figures, tables, ...)
\makeatletter% because def contain @
\def\fps@figure{hbpt!}
\def\fps@table{hbpt!}
\makeatother
\begin{document}
%%% Frontmatter
\frontmatter
% University titlepage
\includepdf[pages=-]{pdfs/titlepage.pdf} % Include the title page
\setcounter{page}{1} % Reset the page counter
% Frontmatter
\input{chapters/frontmatter}
%%% Main matter
\mainmatter
% Introduction
\input{chapters/introduction.tex}
\clearpage\null
% Part I (can be removed)
\part{My first part title}
\input{chapters/1_mechanical_degradation_of_quasi-brittle_materials.tex}
\clearpage\null
% Part II (can be removed)
\part{My second part title}
% Conclusion
\input{chapters/conclusion.tex}
\clearpage\null
% Appendices
\thesisappendix
\input{chapters/appendices/my_first_appendix.tex}
\clearpage\null
%%% Backmatter
\backmatter
% Display the bibliography
\printbibliography[heading=bibintoc]
\end{document}