-
Notifications
You must be signed in to change notification settings - Fork 0
/
mieec.tex
202 lines (156 loc) · 5.28 KB
/
mieec.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
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
%% FEUP THESIS STYLE for LaTeX2e
%% how to use feupteses (portuguese version)
%%
%% FEUP, JCL & JCF, 31 Jul 2012
%%
%% 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
%% Alternative:
%% latexmk -pdf texe.tex
%%========================================
\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}
%% Portuguese version
%% MIEEC options
%\usepackage[portugues,mieec]{feupteses}
\usepackage[portugues,mieec,juri]{feupteses}
%\usepackage[portugues,mieec,final]{feupteses}
%\usepackage[portugues,mieec,final,onpaper]{feupteses}
%%Tables
\usepackage{multirow}
\usepackage[table]{xcolor}
%% Gantt Diagram
\usepackage{gantt}
\usepackage{graphicx}
\usepackage{caption}
\usepackage{subcaption}
% %pseudo-code
\usepackage{amsmath}
\usepackage{algorithm}
\usepackage{algpseudocode}
\makeatletter
\def\BState{\State\hskip-\ALG@thistlm}
\newcommand{\newalgname}[1]{%
\renewcommand{\ALG@name}{#1}%
}
\newalgname{Algoritmo}% All algorithms will be called "Algoritmo"
\makeatother
%% package for code
\usepackage{listings}
\usepackage{color}
\definecolor{codegreen}{rgb}{0,0.6,0}
\definecolor{codegray}{rgb}{0.5,0.5,0.5}
\definecolor{codepurple}{rgb}{0.58,0,0.82}
\definecolor{backcolour}{rgb}{0.95,0.95,0.92}
\lstdefinestyle{mystyle}{
backgroundcolor=\color{backcolour},
commentstyle=\color{codegreen},
keywordstyle=\color{magenta},
numberstyle=\tiny\color{codegray},
stringstyle=\color{codepurple},
basicstyle=\footnotesize,
breakatwhitespace=false,
breaklines=true,
captionpos=b,
keepspaces=true,
numbers=left,
numbersep=5pt,
showspaces=false,
showstringspaces=false,
showtabs=false,
tabsize=2
}
\lstset{style=mystyle}
%% For other degrees
% \usepackage[portugues]{feupteses} % you must define the degree bellow
%% Options:
%% - portugues: titles, etc in portuguese
%% - onpaper: links are not shown (for paper versions)
%% - backrefs: include back references from bibliography to citation place
%% 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{Olhó-passarinho: uma extensão do TweeProfiles para fotografias}
\author{Ivo Filipe Valente Mota}
%% Uncomment next line for date of submission
%\thesisdate{30 de Junho de 2014}
%% Comment next line for copyright text if not used
\copyrightnotice{Ivo Mota, 2014}
\supervisor{Orientador}{Luís Filipe Pinto de Almeida Teixeira (PhD)}
%% Uncomment next line if necessary
\supervisor{Co-orientador}{Carlos Manuel Milheiro de Oliveira Pinto Soares (PhD)}
%% Uncomment committee stuff in the final version if used
%\committeetext{Aprovado em provas públicas pelo Júri:}
%\committeemember{Presidente}{Nome do presidente do júri}
%\committeemember{Arguente}{Nome do arguente do júri}
%\committeemember{Vogal}{Nome do vogal do júri}
%\signature
%% Specify cover logo (in folder ``figures'')
\logo{uporto-feup.pdf}
%% Uncomment next line for additional text below the author's name (front page)
%\additionalfronttext{Preparação da Dissertação}
%%----------------------------------------
%% Preliminary materials
%%----------------------------------------
% remove unnecessary \include{} commands
\begin{Prolog}
\include{abstract} % the abstract
\include{acknows} % the acknowledgments
\include{quote} % initial quotation if desired
\cleardoublepage
\pdfbookmark[0]{Conteúdo}{contents}
\tableofcontents
\cleardoublepage
\pdfbookmark[0]{Lista de Figuras}{figures}
\listoffigures
\cleardoublepage
\pdfbookmark[0]{Lista de Tabelas}{tables}
\listoftables
\include{abbrevs} % 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}
%% Comment next 2 commands if numbered appendices are not used
%\appendix
\include{appendix1}
\include{appendix2}
%%----------------------------------------
%% Final materials
%%----------------------------------------
%% Bibliography
%% Comment the next command if BibTeX file not used,
%% Assumes that bibliography is in ``myrefs.bib''
\PrintBib{myrefs}
%% Index
%% Uncomment next command if index is required,
%% don't forget to run ``makeindex tese'' command
%\PrintIndex
\end{document}