-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.tex
438 lines (353 loc) · 14.1 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
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
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
%%% PERDEIS VOSSAS ESPERANÇAS JÁ AQUI QUEM ENTRAIS %%%
%-------------------------------------------------------------------------
%-------------------------------------------------------------------------
% Modelo de TGR para o curso de Licenciatura em Matemática - UDESC/CCT
%
% Este modelo usa o pacote ABNTeX2, para instalar siga as seguintes instruções:
% Para poder usar o ABNTeX2 é necessário ter o LaTeX instalado. Para Windows, o MikTeX é o mais usado.
% Vá até a página de download do abntex2 (http://code.google.com/p/abntex2/downloads/list), baixe uma das versões (eu usei abntex2.tds-1.7.1.zip) e descompacte em uma pasta temporária.
% Encontre a pasta na qual o MikTeX instalou seus arquivos (no meu computador foi C:\Arquivos de Programas(x86)\MikTex 2.9).
% Vá na pasta C:\temp\abntex-<versão>\texmf, selecione o conteúdo e copie tudo.
% Agora vá na pasta de instalação do MikTex e cole tudo (talvez vá sobrescrever alguma coisa). São os diretórios bibtex, doc e tex.
% Feito isso, será necessário atualizar o MikTeX destas mudanças. Para isso, vá em Iniciar/Programas/MikTeX/Maintenance(Admin)/Settings e clique no botão Refresh Now.
% No Linux basta instalar o pacote texlive-full.
%
%
% ------------------------------------------------------------------------
% ------------------------------------------------------------------------
\documentclass[
% -- opções da classe memoir --
12pt, % tamanho da fonte
oneside, % para impressão em verso e anverso. Oposto a oneside
a4paper, % tamanho do papel.
% -- opções do pacote babel --
english, % idioma adicional para hifenização
french, % idioma adicional para hifenização
spanish, % idioma adicional para hifenização
brazil, % o último idioma é o principal do documento
]{abntex2}
% ---
% PACOTES
% ---
% ---
% Pacotes fundamentais
% ---
\usepackage{cmap} % Mapear caracteres especiais no PDF
\usepackage{lmodern} % Usa a fonte Latin Modern
\usepackage[T1]{fontenc} % Selecao de codigos de fonte.
\usepackage[utf8]{inputenc} % Codificacao do documento (conversão automática dos acentos)
\usepackage{lastpage} % Usado pela Ficha catalográfica
\usepackage{indentfirst} % Indenta o primeiro parágrafo de cada seção.
\usepackage{color} % Controle das cores
% \usepackage[dvips]{graphicx} % Inclusão de gráficos (.eps)
\usepackage{graphicx}
\usepackage{epstopdf} %conversão direta para pdf permitindo inserir figuras jpg
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{amsthm}
\usepackage[left=3cm,right=2cm,top=3cm,bottom=2cm]{geometry}
\usepackage{nccmath} % para intertext no align
\usepackage{mathtools}
\usepackage{subfiles}
\usepackage{pdfpages}
\usepackage{relsize}
\usepackage{microtype}
\usepackage[sorting=nty, style=abnt]{biblatex} % citestyle=authoryear,
\usepackage[portuguese=brazilian]{csquotes} % Package biblatex Warning: 'babel/polyglossia' detected but 'csquotes' missing. Loading 'csquotes' recommended.
\usepackage{etoolbox} % para modificar as citacoes, colocar margem no blockquote
% \usepackage{showkeys} % para que quando for usar \ref apareça uma prévia do que se trata, teorema prop, def etc. pois \ref gera apenas numeros
\usepackage[capitalise, brazilian]{cleveref}
\usepackage{physics} % para \abs{}
%% You'll get surprised by
%% https://en.wikibooks.org/wiki/LaTeX/Package_Reference
%\usepackage{array}
%\usepackage{eufrak} % para estilizar o elemento neutro 'e' // % eufrak package is redundant if the amsfonts package is used
% https://pt.overleaf.com/latex/templates/modelo-canonico-de-trabalhos-academicos-com-abntex2/ybtpkzkccnnj
% \usepackage[colorinlistoftodos,prependcaption,textsize=tiny]{todonotes}
%\usepackage[numeric]{footmisc} % para alterar rótulos de footnote
\usepackage{color,soul} % para marcar para revisao
% \newcommand{\gray}[1]{{\sethlcolor{gray}\hl{#1}}\gappto{\yellowhook}{#1}}
% \newcommand{\yellow}[1]{{\sethlcolor{yellow}\hl{#1}}\gappto{\yellowhook}{#1}}
% \newcommand{\textoIncluido}[1]{\todo{Texto Incluído} {\color{blue} \textit{#1}}}
% \newcommand{\textoRemovido}[1]{\todo{Texto Removido} {\color{gray} \textit{#1}}}
\usepackage{marginnote} % para todonotes dentro de align
% ---
\usepackage{titlesec} %Adequação dos títulos as normas da UDESC
% ---
\titleformat{\chapter}
{\normalfont\normalfont\bfseries}
{\thechapter.}{0.5em}{}
\titleformat{\section}
{\normalfont}
{\thesection.}{0.5em}{}
\titleformat{\subsection}
{\normalfont}
{\thesection.}{0.5em}{}
% ---
\usepackage{etoc} %Adequação do sumário as normas da UDESC
% ---
\etocsetstyle{section}
{\normalfont}
{\addvspace{.5ex}\noindent\setlength{\leftskip}{1.5cm}\noindent}
{\llap{\makebox[1.5cm][l]{{\etocnumber}}}\etocname
\hspace{10pt}\nobreak\dotfill\hspace{10pt}{\etocpage}\par}
{}
\etocsetstyle{chapter}
{\bfseries}
{\addvspace{.5ex}\setlength{\leftskip}{1.5cm}\noindent}
{\llap{\makebox[1.5cm][l]{\bfseries\etocnumber}}\etocname
\hspace{10pt}\nobreak\dotfill\hspace{10pt}\etocpage\par}
{}
\etocsetstyle{chapter}
{\bfseries}
{\addvspace{.5ex}\setlength{\leftskip}{1.5cm}\noindent}
{\llap{\makebox[1.5cm][l]{\bfseries\etocnumber}}\etocname
\hspace{10pt}\nobreak\dotfill\hspace{10pt}\etocpage\par}
{}
\etocsetstyle{subsection}
{\bfseries}
{\addvspace{.5ex}\noindent\setlength{\leftskip}{1.5cm}\noindent}
{\llap{\makebox[1.5cm][l]{{\bfseries\etocnumber}}}\etocname
\hspace{10pt}\nobreak\dotfill\hspace{10pt}{\etocpage}\par}
{}
\etocsetstyle{chapter}
{\bfseries}
{\addvspace{.5ex}\setlength{\leftskip}{1.5cm}\noindent}
{\llap{\makebox[1.5cm][l]{\bfseries\etocnumber}}\etocname
\hspace{10pt}\nobreak\dotfill\hspace{10pt}\etocpage\par}
{}
\etocsettocstyle{\chapter*{\bfseries SUMÁRIO}}
{\bfseries}
\setcounter{tocdepth}{1}
\setcounter{secnumdepth}{2}
% ---
% Novos Comandos
% ---
\newcommand{\defeq}{\vcentcolon=}
\newcommand{\eqdef}{=\vcentcolon}
\newcommand{\spaceLand}{\hspace{8pt} \land \hspace{8pt}}
\newcommand{\spaceNeq}{\hspace{8pt} \neq \hspace{8pt}}
\newcommand{\myspace}[1]{\hspace{8pt} {#1} \hspace{8pt}}
\newcommand{\littleSpace}{\hspace{12pt}}
\newcommand{\authorName}{MATEUS SCHROEDER DA SILVA}
\newcommand{\orientationBy}{\noindent Prof. Me. Marnei Luis Mandler}
\newcommand{\titleTGR}{DOS AXIOMAS DE PEANO AOS CORTES DE DEDEKIND}
\newcommand{\subtitleTGR}{UMA FORMALIZAÇÃO PARA OS CONJUNTOS NUMÉRICOS}
\newcommand{\titleComplete}{\textbf{\titleTGR:} \subtitleTGR}
\newcommand{\absurd}{\Rightarrow\!\Leftarrow}
%\patchcmd{\blockquote}{\leftmargin}{\leftmargin 4cm}{}{}
%\patchcmd{\quote}{\rightmargin}{\leftmargin 4cm \rightmargin}{}{}
\renewcommand*{\thefootnote}{(\arabic{footnote})} % colocar nota de rodapé entre parenteses
% \newcommand{\myRedDef}[2]{}
%\renewcommand{\thefootnote}{\fnsymbol{footnote}}
% ---
% Estilo teoremas e atalhos para comandos
% ---
\theoremstyle{plain}
\newtheorem{teo}{Teorema}[chapter]
\newtheorem{prop}{Proposição}[chapter]
\newtheorem{lema}{Lema}[chapter]
\newtheorem{corol}{Corolário}[chapter]
\newtheorem{defi}{Definição}[chapter]
\newtheorem{axi}{Axioma}
\newtheorem{peano}{Peano}
\theoremstyle{definition}
\newtheorem{obs}{Observação}[chapter]
\newtheorem{ex}{Exemplo}[chapter]
\newenvironment{dem}[1][\textbf{Demonstração:} \ ]{\textbf{#1}}{\hfill\rule{2mm}{2mm} \\ }
\newcommand{\afi}{\textbf{Afirmação:} }
\newcommand{\notacao}{\noindent\textbf{Notação:} }
\relpenalty=9999
\binoppenalty=9999
% ---
\newcommand{\crefpairconjunction}{ e }
\Crefname{teo}{Teorema}{Teoremas}
\Crefname{prop}{Proposição}{Proposições}
\Crefname{corol}{Corolário}{Corolários}
\Crefname{ex}{Exemplo}{Exemplos}
\Crefname{defi}{Definição}{Definições}
\Crefname{axi}{Axioma}{Axiomas}
% \Crefname{enumerate}{item}{Itens}
% \creflabelformat{punto}{Item}
%\usepackage{lipsum} % para geração de dummy text
% ---
% Pacotes de citações
% ---
%% Tentarei usar não abnt, somente as próprias ferramentas do latex mais comuns e não estritas "ABNT".
%% Conforme http://tug.ctan.org/macros/latex/contrib/abntex2/doc/abntex2cite.pdf
%\usepackage[brazilian,hyperpageref]{backref} % Paginas com as citações na bibl
%\nocite{*}
%\usepackage[alf]{abntex2cite} % Citações padrão ABNT
\addbibresource{./include/refs.bib}
% \DeclareNameAlias{sortname}{family-given} % Para usar nas referências, colocar último sobrenome na frente e ordenar
% % https://tex.stackexchange.com/questions/380299/change-position-of-year-field-in-authoryear-biblatex-style
% \DeclareFieldFormat{url}{Disponível em: \addcolon\space\url{#1}} % https://tex.stackexchange.com/questions/510625/how-to-change-url-to-available-at-for-citing-a-website-in-biblatex
% \DeclareDelimFormat{finalnamedelim}{\addsemicolon\space}
% \renewcommand*{\nameyeardelim}{\addcomma\space} % para adicionar vírgula entre autor e data quando usar \cite ou análogos
% % Para colocar parencite em maiúsculas, somente parencite Parencite
% \makeatletter
% \renewcommand*{\mkbibnamefamily}[1]{%
% \ifdefstring{\blx@delimcontext}{parencite}
% {\MakeUppercase{#1}}
% {#1}}
% % \ifdefstring{\blx@delimcontext}{printbibliography}
% % {\MakeUppercase{#1}}
% % {#1}}
% \makeatother
% \newcommand\textMyUpperCase[1]{\MakeUppercase{#1}} % https://tex.stackexchange.com/questions/214897/authors-name-in-scshape-with-biblatex
% \renewcommand{\mkbibnamefamily}{\textMyUpperCase} % isso aqui eu nao entendi, boa sorte no link acima para ver mais.
% % faz título negrito, subtítulo continua normal.
% \renewbibmacro{title}{
% \let\itshape\upshape
% \mkbibbold{\printfield{title}}\iffieldundef{subtitle}{.}{: \printfield{subtitle}}
% }
\AtEveryBibitem{
\clearfield{series}
\clearfield{isbn}
}
% https://tex.stackexchange.com/questions/588/how-can-i-change-the-margins-for-only-part-of-the-text
\def\changemargin#1#2{\list{}{\rightmargin#2\leftmargin#1}\item[]}
\let\endchangemargin=\endlist
\makeatletter
%Take the original environment definition and change the leftmargin to 1cm
\renewenvironment*{displayquote}
{ \begin{changemargin}{4cm}{0cm} \fontsize{10pt}{10pt}\selectfont}
{ \end{changemargin} }
\makeatother
% \makeatletter % para todonotes dentro de align
% \renewcommand{\@todonotes@drawMarginNoteWithLine}{%
% \begin{tikzpicture}[remember picture, overlay, baseline=-0.75ex]%
% \node [coordinate] (inText) {};%
% \end{tikzpicture}%
% \marginnote[{% Draw note in left margin
% \@todonotes@drawMarginNote%
% \@todonotes@drawLineToLeftMargin%
% }]{% Draw note in right margin
% \@todonotes@drawMarginNote%
% \@todonotes@drawLineToRightMargin%
% }%
% }
% \makeatother
% \newcommand{\todoAlign}[1]{\text{\todo{#1}}}
% ---
% CONFIGURAÇÕES DE PACOTES
% ---
% % ---
% % Configurações do pacote backref
% % Usado sem a opção hyperpageref de backref
% \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}%
% % ---
% ---
%%Cabeçalho
% ---
\makepagestyle{meuestilo}
%%cabeçalhos
% \makeevenhead{meuestilo} %%pagina par
% {topo par à esquerda}
% {centro \thepage}
% {direita}
\makeoddhead{meuestilo} %%pagina ímpar ou com oneside
{} %esquerda
{} %centro
{\thepage}%direita
% ----
% Início
% ----
\titulo{\titleComplete}
\autor{\authorName}
\local{JOINVILLE, SC}
\date{2023}
\tipotrabalho{TRABALHO DE CONCLUSÃO DE CURSO}
\preambulo{ Trabalho de conclusão de curso apresentado como requisito parcial para obtenção do título de licenciado em Matemática pelo curso de Licenciatura em Matemática do Centro de Ciências Tecnológicas - CCT, da Universidade do Estado de Santa Catarina - UDESC. \\
Orientador: \orientationBy}
% ---
\makeatother
% ---
% ---
% Espaçamentos entre linhas e parágrafos
% ---
% O tamanho do parágrafo é dado por:
\setlength{\parindent}{1.25cm}
% Controle do espaçamento entre um parágrafo e outro:
\setlength{\parskip}{0.2cm} % tente também \onelineskip
% ---
% compila o indice
% ---
\makeindex
% ---
% ----
% Início do documento
% % ----
\begin{document}
% Retira espaço extra obsoleto entre as frases.
\frenchspacing
\subfile{chapter/presentation}
% ----------------------------------------------------------
% ELEMENTOS TEXTUAIS
% ----------------------------------------------------------
\textual
\pagestyle{meuestilo}
\subfile{chapter/introduction}
% INICIO CAPITULOS
\subfile{chapter/algebra}
\subfile{chapter/naturals}
\subfile{chapter/integers}
\subfile{chapter/rationals}
\subfile{chapter/reals}
\subfile{chapter/enumerabilidade}
% FIM CAPITULOS
% ------------------------------------------------------------
% Conclusão
% ------------------------------------------------------------
\subfile{chapter/conclusion}
% ----------------------------------------------------------
% Referências bibliográficas
% ----------------------------------------------------------
% \subfile{chapter/references}
\chapter*[Referências]{REFERÊNCIAS}
\addcontentsline{toc}{chapter}{REFERÊNCIAS}
\nocite{*}
\printbibliography[block=none, heading=none]
% ----------------------------------------------------------
% Apêndices
% ----------------------------------------------------------
%\chapter*[Apêndice]{APÊNDICE A - TÍTULO}
%\addcontentsline{toc}{chapter}{APÊNDICE A - TÍTULO}
% ----------------------------------------------------------
%\chapter*[Apêndice]{APÊNDICE A - TÍTULO}
%\addcontentsline{toc}{chapter}{APÊNDICE A - TÍTULO}
%\subfile{chapter/apendix-A}
% ----------------------------------------------------------
%\chapter{Titulo do Segundo Apêndice}
% ----------------------------------------------------------
%Lalalalalala...
% ---
% ----------------------------------------------------------
% Anexos
% ----------------------------------------------------------
% ---
%\chapter*[Anexos]{ANEXO A - TÍTULO}
%\addcontentsline{toc}{chapter}{ANEXO A - TÍTULO}
% ---
%Lalalalalala...
% ---
%\chapter{Nome do anexo 2}
% ---
%lalalalalalalala....
%---------------------------------------------------------------------
% INDICE REMISSIVO
%---------------------------------------------------------------------
\printindex
\end{document}