summaryrefslogtreecommitdiff
path: root/tex/report_default.tex
blob: e9eb94f6bfe849b440be2075e0683fe961cef61b (plain)
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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
\documentclass[10pt,twoside]{report} 

% Files to include
\includeonly{
    preamble/title,
    preamble/authorship,
    preamble/abstract,
    preamble/acknowledgements,
    chapters/introduction,
    chapters/chap1,
    chapters/chap2,
    chapters/chap3,
    chapters/conclusion,
}

% Boolean variables
\newif \ifcontents \contentsfalse
\newif \ifbib \bibtrue
\newif \iflong \longtrue

% Packages
\usepackage[utf8]{inputenx} 
\usepackage[english]{babel}
\usepackage{microtype}
\usepackage{fancyhdr}
\usepackage{listings}
\usepackage{appendix}
\usepackage{vmargin}
\usepackage{setspace}
\usepackage{mathenv}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{amscd}
\usepackage{amsthm}
\usepackage{hyperref}
\usepackage{cleveref}
\usepackage{graphicx}
\usepackage{epstopdf}
\usepackage{subfigure}
\usepackage{color}

% Packages with options
\usepackage[labelfont=sc]{caption}
\usepackage[square, numbers, comma, sort&compress]{natbib}

% Layout options
\setlength{\parskip}{6pt}

% Compilation options
\synctex=1

% Setting for the table of contents
\setcounter{secnumdepth}{3}
\setcounter{tocdepth}{3}

% Macros
\definecolor{darkred}{rgb}{.7,0,0}
\newcommand{\real}[0]{\mathbf R} 
\newcommand{\nat}[0]{\mathbf N} 
\newcommand{\op}[0]{\mathcal} 
\newcommand{\grad}[0]{\,\nabla\,}
\newcommand{\dive}[0] {\,\nabla\,\cdot\,} 
\newcommand{\ip}[2]{\left \langle #1,#2 \right\rangle} 
\newcommand{\norm}[1]{\,\| #1 \|\,} 
\newcommand{\pard}[2]{\partial_{#2} #1} 
\newcommand{\pardl}[2]{\frac{\partial #1}{\partial #2}} 
\newcommand{\pardd}[2]{\partial_{#2}^2 #1} 
\newcommand{\parddl}[2]{\frac{\partial^2 #1}{\partial #2^2}} 
\newcommand{\dx}[0]{\mathrm d}
\newcommand{\hermite}[0]{\mathcal}
\newcommand{\gaussian}[1]{g_{#1}} 
\newcommand{\stdgaussian}[0]{g} 
\newcommand{\test}[1]{C^\infty_c(#1)} 
\newcommand{\flp}[2]{L^{#1}(#2)}
\newcommand{\wlp}[3]{L^{#1}(#2, #3)}
\newcommand{\sobolev}[2]{H^{#1}(#2)}
\newcommand{\wsobolev}[3]{H^{#1}(#2, #3)}
\newcommand{\red}[1]{\textcolor{darkred}{#1}}
\newcommand{\HRule}{\rule{\linewidth}{0.5mm}}

% Theorems
\theoremstyle{plain}
\newtheorem{assumption}{Assumption}[section]
\newtheorem{example}{Example}[section]
\newtheorem{theorem}{Theorem}[section]
\newtheorem{corollary}[theorem]{Corollary}
\newtheorem{lemma}[theorem]{Lemma}
\newtheorem{proposition}[theorem]{Proposition}
\newtheorem{axiom}[theorem]{Axiom}
\theoremstyle{definition}
\newtheorem{definition}[theorem]{Definition}
\theoremstyle{remark}
\newtheorem{remark}[theorem]{Remark}

\begin{document}

\pagestyle{empty}

\setstretch{1.3} 
\include{preamble/title} \cleardoublepage
\include{preamble/authorship} \cleardoublepage
\include{preamble/abstract} \cleardoublepage
\include{preamble/acknowledgements} \cleardoublepage
\ifcontents \tableofcontents \fi

\pagestyle{plain}


\include{chapters/introduction} \cleardoublepage
\include{chapters/chap1} \cleardoublepage
\include{chapters/chap2} \cleardoublepage
\include{chapters/chap3} \cleardoublepage
\include{chapters/conclusion} \cleardoublepage

\nocite*
\bibliographystyle{unsrtnat} 
\bibliography{Bibliography} 

\end{document}