-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy paththesis.tex
executable file
·162 lines (134 loc) · 5.13 KB
/
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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
%% FEUP THESIS STYLE for LaTeX2e
%% how to use feupteses (English version)
%%
%% FEUP, JCL & JCF, 31 July 2011
%%
%% PLEASE send improvements to jlopes at fe.up.pt and to jcf at fe.up.pt
%%
%%========================================
%% Commands: pdflatex tese
%% bibtex tese
%% makeindex tese (only if creating an index)
%% pdflatex tese
%%========================================
\documentclass[11pt,a4paper,twoside,openright]{report}
%% For iso-8859-1 (latin1), comment next line and uncomment the second line
\usepackage[utf8]{inputenc}
%\usepackage[latin1]{inputenc}
%% English version
%\usepackage[mieic]{feupteses}
\usepackage[mieic,juri]{feupteses}
%\usepackage[mieic,final]{feupteses}
%\usepackage[mieic,final,onpaper]{feupteses}
%% Additional options for feupteses.sty:
%% - onpaper: links are not shown (for paper versions)
%% Uncomment the next lines if side by side graphics used
%\usepackage[lofdepth,lotdepth]{subfig}
%\usepackage{graphicx}
%\usepackage{float}
%% Include color package
\usepackage{color}
\definecolor{cloudwhite}{cmyk}{0,0,0,0.025}
%% Include source-code listings package
\usepackage{listings}
\lstset{ %
language=C, % choose the language of the code
basicstyle=\footnotesize\ttfamily,
keywordstyle=\bfseries,
numbers=left, % where to put the line-numbers
numberstyle=\scriptsize\texttt, % the size of the fonts that are used for the line-numbers
stepnumber=1, % the step between two line-numbers. If it's 1 each line will be numbered
numbersep=8pt, % how far the line-numbers are from the code
frame=tb,
float=htb,
aboveskip=8mm,
belowskip=4mm,
backgroundcolor=\color{cloudwhite},
showspaces=false, % show spaces adding particular underscores
showstringspaces=false, % underline spaces within strings
showtabs=false, % show tabs within strings adding particular underscores
tabsize=2, % sets default tabsize to 2 spaces
captionpos=b, % sets the caption-position to bottom
breaklines=true, % sets automatic line breaking
breakatwhitespace=false, % sets if automatic breaks should only happen at whitespace
escapeinside={\%*}{*)}, % if you want to add a comment within your code
morekeywords={*,var,template,new} % if you want to add more keywords to the set
}
%% Uncomment to create an index (at the end of the document)
\makeindex
%% Path to the figures directory
%% TIP: use folder ``figures'' to keep all your figures
\graphicspath{{figures/}}
%%----------------------------------------
%% TIP: if you want to define more macros, use an external file to keep them
\include{mymacros}
%%----------------------------------------
%%========================================
%% Start of document
%%========================================
\begin{document}
%%----------------------------------------
%% Information about the work
%%----------------------------------------
\title{Title of the Dissertation}
\author{Name of the Author}
%% Uncomment next line for date of submission
\thesisdate{July 31, 2008} % comment for today in provisional versions
\supervisor{Supervisor}{Name of the Supervisor}{(Title)}
%% Uncomment next line if necessary
%\supervisor{Second Supervisor}{Name of the Supervisor}{(Title)}
%% Uncomment committee stuff in the final version if used
\committeetext{Approved in oral examination by the committee:}
\committeemember{Chair}{Doctor Name of the President}
\committeemember{External Examiner}{Doctor Name of the Examiner}
\committeemember{Supervisor}{Doctor Name of the Supervisor}
\signature
%% Specify cover logo (in folder ``figures'')
\logo{feup-logo.pdf}
%% Uncomment next line to set the depth of sectional units listed in the toc
%\setcounter{tocdepth}{3}
%%----------------------------------------
%% Preliminary materials
%%----------------------------------------
\begin{Prolog}
\include{abstract_en} % the abstract
\include{acknows_en} % the acknowledgments
\include{quote} % initial quotation if desired
\cleardoublepage
\pdfbookmark[0]{Table of Contents}{contents}
\tableofcontents
\cleardoublepage
\pdfbookmark[0]{List of Figures}{figures}
\listoffigures
\cleardoublepage
\pdfbookmark[0]{List of Tables}{tables}
\listoftables
\cleardoublepage
\pdfbookmark[0]{Abbreviations}{abbrevs}
\include{abbrevs_en} % the list of abbreviations used
\end{Prolog}
%%----------------------------------------
%% Body
%%----------------------------------------
\StartBody
%% TIP: use a separate file for each chapter
\include{chapter1}
\include{chapter2}
\include{chapter3}
\include{chapter4}
\include{chapter5}
%%----------------------------------------
%% Final materials
%%----------------------------------------
%% Bibliography
%% Comment the next command if BibTeX file not used
%% bibliography is in ``myrefs.bib''
\PrintBib{myrefs}
%% Index
%% Uncomment next command if index is required
%% don't forget to run ``makeindex thesis'' command
%\PrintIndex
%% comment next 2 commands if numbered appendixes not used
\appendix
\include{appendix1}
\end{document}