-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.tex
108 lines (82 loc) · 2.11 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
98
99
100
101
102
103
104
105
106
107
108
\documentclass[12pt]{report}
\usepackage[utf8]{inputenc}
\usepackage{graphicx}
\graphicspath{ {images/} }
\usepackage[font=footnotesize]{caption}
\usepackage{subcaption}
% remember to put binding offset later bindingoffset=9mm
\usepackage[a4paper,width=150mm,top=50mm,bottom=50mm]{geometry}
\usepackage{dirtytalk}
\usepackage{svg}
\usepackage{float}
\usepackage{setspace}
\usepackage[utf8]{inputenc}
\usepackage{booktabs}
\usepackage{hyperref}
\usepackage{xcolor}
\usepackage{listings}
\usepackage{fancyhdr}
\pagestyle{fancy}
\fancyhf{}
\fancyhead[R]{\leftmark}
\fancyfoot[C]{\thepage}
\setlength{\headheight}{15pt}
\renewcommand{\headrulewidth}{0.1pt}
\renewcommand{\footrulewidth}{0.1pt}
\lstdefinestyle{c}{
belowcaptionskip=1\baselineskip,
breaklines=true,
frame=tb,
basicstyle=\small,
showspaces=false,
language=c,
captionpos=b,
aboveskip=2em,
lineskip=.2cm
}
% texttt trick
\catcode`\_=12 %
\newcommand{\tttjust}[1]{%
\begingroup
\ttfamily
\begingroup\lccode`~=`/\lowercase{\endgroup\def~}{/\discretionary{}{}{}}%
\begingroup\lccode`~=`[\lowercase{\endgroup\def~}{[\discretionary{}{}{}}%
\begingroup\lccode`~=`.\lowercase{\endgroup\def~}{.\discretionary{}{}{}}%
\begingroup\lccode`~=`_\lowercase{\endgroup\def~}{_\discretionary{}{}{}}%
\catcode`/=\active\catcode`[=\active\catcode`.=\active\catcode`\_=\active
\scantokens{#1\noexpand}%
\endgroup
}
\catcode`\_=8 %
\usepackage[style=numeric]{biblatex}
\addbibresource{refs.bib}
\title{Thesis Title}
\author{Lorenzo Susini}
\date{\today}
\begin{document}
\input{titlepage}
\doublespacing
\input{abstract}
\tableofcontents
\chapter{Introduction}
\label{chap:intro}
\input{chapters/introduction}
\chapter{Background}
\label{chap:background}
\input{chapters/background}
\chapter{Design and implementation}
\label{chap:design-impl}
\input{chapters/design-implementation}
\chapter{Evaluation}
\label{chap:testing}
\input{chapters/testing}
\chapter{Conclusions}
\label{chap:conclusions}
\input{chapters/conclusions}
\listoffigures
%\listoftables
\lstlistoflistings
\printbibliography
\newpage
\input{acknowledgments}
\end{document}