-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtcc_final.tex
312 lines (242 loc) · 8.69 KB
/
tcc_final.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
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
% -----------------------------------
% -----------------------------------
% abnTeX2: Normas ABNT NBR 14724:2011 + sugestões FGV/EMAp.
% Autor: Lauro César Araujo
% Adaptações EMAp: Lucas Machado Moschen
% Copyright 2012-2018 by abnTeX2 group at http://www.abntex.net.br/
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either version 1.3
%% of this license or (at your option) any later version.
%% The latest version of this license is in
%% http://www.latex-project.org/lppl.txt
%% and version 1.3 or later is part of all distributions of LaTeX
%% version 2005/12/01 or later.
% ----------------------------------
% ----------------------------------
\documentclass[
% -- opções da classe memoir --
12pt, % tamanho da fonte
%openright, % capítulos começam em página ímpar (insere página vazia caso preciso)
oneside, % para impressão em recto e verso. Oposto a oneside
a4paper, % tamanho do papel.
% -- opções da classe abntex2 --
%chapter=TITLE, % títulos de capítulos convertidos em letras maiúsculas
%section=TITLE, % títulos de seções convertidos em letras maiúsculas
%subsection=TITLE, % títulos de subseções convertidos em letras maiúsculas
%subsubsection=TITLE,% títulos de subsubseções convertidos em letras maiúsculas
% -- opções do pacote babel --
english, % idioma para inglês
%brazil % idioma para português
]{abntex2}
%------------------------------------------------
%-------------- Pacotes necessários -------------
%------------------------------------------------
% Escrita
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}
\usepackage{microtype} % para melhorias de justificação
\usepackage{indentfirst}
\usepackage{csquotes}
% \newtheorem{theorem}{Theorem}[section]
\renewcommand{\ABNTEXchapterfont}{\fontfamily{ptm}\fontseries{b}\selectfont}
% Gráficos
\usepackage{color}
\usepackage{caption}
\usepackage{subcaption}
\usepackage{multirow}
\usepackage{graphicx}
\usepackage{pdfpages}
\usepackage{cancel}
\usepackage{quiver}
% \usepackage{pgfplots}
\graphicspath{{../../images/}}
% Matemáticos
\usepackage{bbm}
\usepackage{amsthm, amssymb, amsmath, mathtools}
% Outros
\usepackage{lipsum}
%\usepackage[textsize=tiny, textwidth=15mm]{todonotes}
\usepackage{multirow}
\usepackage{listings}
\usepackage{lstbayes}
% \usepackage[shortlabels]{enumitem}
% Citações
%\usepackage[brazilian,hyperpageref]{backref}
%\usepackage[alf]{abntex2cite} % Citações padrão ABNT
\usepackage[style=abnt]{biblatex}
% \usepackage{natbib}
\addbibresource{biblio.bib}
% \renewcommand{\backrefpagesname}{Citado na(s) página(s):~}
% % Texto padrão antes do número das páginas
% \renewcommand{\backref}{}
% % Define os textos da citação
% \renewcommand*{\backrefalt}[4]{
% \ifcase #1 %
% Nenhuma citação no texto.%
% \or
% Citado na página #2.%
% \else
% Citado #1 vezes nas páginas #2.%
% \fi}%
% ---
\input{files/capa_folha_rosto.tex}
\titulo{A survey on fully homomorphic encryption with statistical applications}
\autor{Rener de Souza Oliveira}
\local{Rio de Janeiro}
\data{2022}
\instituicao{%
Fundação Getulio Vargas \\
\par
School of Applied Mathematics
}
\tipotrabalho{Bachelor Dissertation (Undergraduation)}
\preambulo{Bachelor dissertation presented to the School of Applied
Mathematics (FGV/EMAp) to obtain the Bachelor's degree in Applied Mathematics.
\\ \\ Areas of Study: Cryptography, Machine Learning}
\orientador{Rodrigo dos Santos Targino}
% Se o seu texto tem subtítulo.
% Se não tiver, altere o arquivo capa_folha_rosto_tex
% \subtitulo{Training models over encrypted data}
%---------------------------------------------
%-------------------- PDF --------------------
%---------------------------------------------
% alterando o aspecto da cor azul
\definecolor{blue}{RGB}{41,5,195}
% informações do PDF
\makeatletter
\hypersetup{
%pagebackref=true,
pdftitle={\@title},
pdfauthor={\@author},
pdfsubject={\imprimirpreambulo},
pdfcreator={LaTeX with abnTeX2},
pdfkeywords={abnt}{latex}{abntex}{abntex2}{trabalho acadêmico},
colorlinks=true, % false: boxed links; true: colored links
linkcolor=blue, % color of internal links
citecolor=blue, % color of links to bibliography
filecolor=magenta, % color of file links
urlcolor=blue,
bookmarksdepth=4
}
\makeatother
% Posiciona figuras e tabelas no topo da página quando adicionadas sozinhas
% em um página em branco. Ver https://github.com/abntex/abntex2/issues/170
\makeatletter
\setlength{\@fptop}{5pt} % Set distance from top of page to first float
\makeatother
%---------------------------------------
%--------- Mais configurações-----------
%---------------------------------------
% Possibilita criação de Quadros e Lista de quadros.
% Ver https://github.com/abntex/abntex2/issues/176
\newcommand{\quadroname}{Quadro}
\newcommand{\listofquadrosname}{Lista de quadros}
\newfloat[chapter]{quadro}{loq}{\quadroname}
\newlistof{listofquadros}{loq}{\listofquadrosname}
\newlistentry{quadro}{loq}{0}
% configurações para atender às regras da ABNT
\setfloatadjustment{quadro}{\centering}
\counterwithout{quadro}{chapter}
\renewcommand{\cftquadroname}{\quadroname\space}
\renewcommand*{\cftquadroaftersnum}{\hfill--\hfill}
\setfloatlocations{quadro}{hbtp} % Ver https://github.com/abntex/abntex2/issues/176
%-----------------------------------------------------
%--------------------- Margens -----------------------
%-----------------------------------------------------
\setlrmarginsandblock{3cm}{2cm}{*} % The correct is 3/2
\setulmarginsandblock{3cm}{2cm}{*}
\checkandfixthelayout
%-----------------------------------------------------
%------ Espaçamentos entre linhas e parágrafos -------
%-----------------------------------------------------
% O tamanho do parágrafo é dado por:
\setlength{\parindent}{1.3cm}
% Controle do espaçamento entre um parágrafo e outro:
\setlength{\parskip}{0.2cm} % tente também \onelineskip
% compila o índice
\makeindex
%------------------------------------------------------
%----------- Personal Definitions ---------------------
%------------------------------------------------------
\input{files/definitions.tex}
\usepackage{algorithm}
\usepackage{algorithmic}
\renewcommand{\algorithmicrequire}{\textbf{Input:}}
\renewcommand{\algorithmicensure}{\textbf{Output:}}
\renewcommand{\quadroname}{Chart}
%-------------------------------------------------
%----------------- Document ----------------------
%-------------------------------------------------
\begin{document}
\newcounter{num}
% if num != 1, do not print the pre textual
\setcounter{num}{1}
\selectlanguage{english}
\frenchspacing
%----------------------------------------------
%--------------- Pré-textuais -----------------
%----------------------------------------------
%\pretextual
\imprimircapa
\ifnum\value{num}=1
{\imprimirfolhaderosto*
\input{files/ficha_catalografica.tex}
%\input{files/errata.tex}
% \input{files/folha_aprovacao.tex}
\input{files/dedicatoria_agradecimentos.tex}
\input{files/resumo.tex}
% \pdfbookmark[0]{\listfigurename}{lof}
% \listoffigures*
% \cleardoublepage
% \pdfbookmark[0]{\listofquadrosname}{loq}
% \listofquadros*
% \cleardoublepage
% \pdfbookmark[0]{\listtablename}{lot}
% \listoftables*
% \cleardoublepage
% \input{files/siglas_simbolos.tex}
}\fi
\pdfbookmark[0]{\contentsname}{toc}
\tableofcontents*
\cleardoublepage
% ----------------------------------------------------------
% ELEMENTOS TEXTUAIS
% ----------------------------------------------------------
\textual
\input{files/introducao.tex}
% ----------------------------------------------------------
% Finaliza a parte no bookmark do PDF
% para que se inicie o bookmark na raiz
% e adiciona espaço de parte no Sumário
% ----------------------------------------------------------
\phantompart
\input{files/desenvolvimento.tex}
\input{files/conclusao.tex}
% -----------------------------------
% ELEMENTOS PÓS-TEXTUAIS
% -----------------------------------
\postextual
% ----------------------------------
%\bibliography{biblio}
\printbibliography
%\glossary
% ----------------------------------------------------------
% Apêndices
% ----------------------------------------------------------
\begin{apendicesenv}
\partapendices
\input{files/appendix.tex}
\end{apendicesenv}
% ----------------------------------------------------------
% Anexos
% ----------------------------------------------------------
% \begin{anexosenv}
% \partanexos
% \end{anexosenv}
%---------------------------------------------------------------------
% ÍNDICE REMISSIVO
%---------------------------------------------------------------------
\phantompart
\printindex
\end{document}