← All templates

CEFET-MG PROFMAT master's dissertation (profmat-cefet)

The CEFET-MG PROFMAT (Professional Master's in Mathematics) dissertation class by Luis Alberto D'Afonseca with its sample dissertation, which explains how to write the dissertation in LaTeX (chapters on figures, tables, theorems, bibliography and code listings) and ends with an ABNT numeric bibliography.

Create an account to use this
Category
Thesis
Document class
profmat-cefet (profmat-cefet.cls) — ships with TeX Live
Workflow
Thesis / dissertation — submissions and revision rounds
Author
CEFET-MG (Federal Centre for Technological Education of Minas Gerais), PROFMAT
Source
CEFET-MG (Federal Centre for Technological Education of Minas Gerais), PROFMAT
Licence
No licence is stated in the files. CEFET-MG (Federal Centre for Technological Education of Minas Gerais), PROFMAT distributes them for authors preparing a submission.

These are the publisher’s own files. This project starts from CEFET-MG (Federal Centre for Technological Education of Minas Gerais), PROFMAT’s package for this publication — their manuscript, their profmat-cefet.cls, their bibliography style — so what compiles here is what they would have given you.

CEFET-MG (Federal Centre for Technological Education of Minas Gerais), PROFMAT serves this exact file to Centro Federal de Educação Tecnológica de Minas Gerais (CEFET-MG) and 1 other title. Check CEFET-MG (Federal Centre for Technological Education of Minas Gerais), PROFMAT’s author pages for the current instructions.

Where this differs from the publisher’s download.

  • Changed: dissertacao.tex: \htmladdnormallink, which abntex2cite writes for URLs, is provided as \href when no package defines it, so the bibliography builds on TeX Live 2024. Class unchanged (amend-r5.mjs)..

What you get

  • dissertacao.bib · 14 KB
  • dissertacao.tex — the file that is compiled · 135 KB
  • figs/bad-cat.jpg · 46 KB
  • figs/calculus.png · 3 KB
  • figs/conjuntos-complemento-uniao.jpg · 115 KB
  • figs/conjuntos-diferenca.jpg · 64 KB
  • figs/conjuntos-intersecao.jpg · 47 KB
  • figs/conjuntos-uniao.jpg · 105 KB
  • figs/editor-equacoes.png · 36 KB
  • figs/euler.png · 111 KB
  • figs/fast-forward.png · 958 B
  • figs/latex-pet.png · 73 KB
  • figs/pitagoras.png · 6 KB
  • profmat-cefet.cls · 35 KB

These become your files. Editing them afterwards changes your project and nothing else — a project owns its files from the moment it is made.

Source

dissertacao.bib · 14 KB
% This file was created with JabRef 2.10.
% Encoding: UTF8


@Book{MOREIRA:TOP_TEO_NUM,
  Title                    = {Tópicos de Teoria dos Números},
  Author                   = {Carlos Gustavo Tamm de Araujo Moreira and 
 Nicolau Corcao Saldanha and 
 Fabio Brochero Martinez},
  Year                     = {2012},
  Edition                  = {1},
  ISBN                     = {9788585818609},
  Pages                    = {320},
  Publisher                = {SBM},
  Series                   = {Coleção Profmat},

  Address                  = {Rio de Janeiro}
}

@Manual{ARAUJO:ABNTEX2CITE,
  Title                    = {O pacote abntex2cite: Estilos bibliográficos compatíveis com a {ABNT} {NBR} 6023},
  Author                   = {Lauro César Araujo},
  Year                     = {2018},
  Url                      = {http://tug.ctan.org/macros/latex/contrib/abntex2/doc/abntex2cite.pdf}
}

@Misc{ABNTEX,
  Title                    = {O pacote abntex2cite},
  Author                   = {Lauro César Araujo},
  Url                      = {http://www.abntex.net.br/},
  Year                     = {2015},
  Subtitle                 = {tópicos específicos da {ABNT} {NBR} 10520:2002 e o estilo bibliográfico alfabético (sistema autor-data)},

  Urlaccessdate            = {03 de março de 2020}
}

@Book{CARVALHO:MAT_DISC,
  Title                    = {Matemática Discreta},
  Author                   = {Paulo Cezar Pinto Carvalho and 
 Augusto Cezar de Oliveira Morgado},
  Year                     = {2015},
  Edition                  = {2},
  ISBN                     = {9788583370154},
  Pages                    = {192},
  Publisher                = {SBM},
  Series                   = {Coleção Profmat},

  Address                  = {Rio de Janeiro}
}

@Book{GOMEZ:GEO_ANA,
  Title                    = {Geometria Analítica},
  Author                   = {Jorge Joaqu{\'\i}n Delgado G\'omez and 
 Katia Rosenvald Frensel and 
 Lhaylla dos Santos Crissaff},
  Year                     = {2017},
  Edition                  = {2},
  ISBN                     = {9788583371212},
  Pages                    = {363},
  Publisher                = {SBM},
  Series                   = {Coleção Profmat},

  Address                  = {Rio de Janeiro}
}

@Book{GIRALDO:REC_COMP_ENS_MAT,
  Title                    = {Recursos Computacionais no Ensino da Matemática},
  Author                   = {Victor Giraldo and 
 Paulo Antonio Silvani Caetano and 
 Francisco Roberto Pinto Mattos},
  Year                     = {2013},
  Edition                  = {1},
  ISBN                     = {9788585818678},
  Pages                    = {423},
  Publisher                = {SBM},
  Series                   = {Coleção Profmat},

  Address                  = {Rio de Janeiro}
}

@Book{HEFEZ:ARIT,
  Title                    = {Aritmética},
  Author                   = {Abramo Hefez},
  Year                     = {2016},
  Edition                  = {2},
  ISBN                     = {9788583371052},
  Pages                    = {330},
  Publisher                = {SBM},
  Series                   = {Coleção Profmat}
}

@Book{HEFEZ:EX_RES_ARIT,
  Title                    = {Exercícios Resolvidos de Aritmética},
  Author                   = {Abramo Hefez},
  Year                     = {2016},
  Edition                  = {1},
  ISBN                     = {9788583371021},
  Pages                    = {204},
  Publisher                = {SBM},
  Series                   = {Coleção Profmat},

  Address                  = {Rio de Janeiro}
}

@Book{HEFEZ:EX_RES_ALG_LIN,
  Title                    = {Exercícios Resolvidos de Álgebra Linear},
  Author                   = {Abramo Hefez and Cecília de Souza Fernandes},
  Year                     = {2016},
  Edition                  = {1},
  ISBN                     = {9788583370857},
  Pages                    = {216},
  Publisher                = {SBM},
  Series                   = {Coleção Profmat},

  Address                  = {Rio de Janeiro}
}

@Book{HEFEZ:INTRO_ALG_LIN,
  Title                    = {Introdução à Álgebra Linear},
  Author                   = {Abramo Hefez and 
 Cecília de Souza Fernandes},
  Year                     = {2016},
  Edition                  = {2},
  ISBN                     = {9788583370871},
  Pages                    = {271},
  Publisher                = {SBM},
  Series                   = {Coleção Profmat},

  Address                  = {Rio de Janeiro}
}

@Book{HEFEZ:POLY_EQ_ALG,
  Title                    = {Polinômios e Equações Algébricas},
  Author                   = {Abramo Hefez and 
 Maria Lucia Torres Villela},
  Year                     = {2012},
  Edition                  = {1},
  ISBN                     = {9788585818630},
  Pages                    = {269},
  Publisher                = {SBM},
  Series                   = {Coleção Profmat},

  Address                  = {Rio de Janeiro}
}

@Mastersthesis{GEOGEBRA:TESE,
  Title                    = {{G}eo{G}ebra: Ein {S}oftwaresystem für dynamische {G}eometrie und {A}lgebra der {E}bene},
  Author                   = {Markus Hohenwarter},
  Year                     = {2002-02},
  Note                     = {(In German)},
  Type                     = {Mestrado em Matememática},

  School                   = {Paris Lodron University, Salzburg, Austria}
}

@Misc{GEOGEBRA,
  Title                    = {{G}eo{G}ebra},
  Author                   = {Hohenwarter, M. and Borcherds, M. and Ancsin, G. and Bencze, B. and Blossier, M. and 
 Delobelle, A. and Denizet, C. and Éliás, J. and 
 Fekete, Á and Gál, L. and Konecný, Z. and Kovács, Z. and 
 Lizelfelner, S. and Parisse, B. and Sturr, G.},
  Url                      = {http://www.geogebra.org},
  Year                     = {2017},

  Urlaccessdate            = {08 de abril de 2018}
}

@Book{LAMPORT:LATEX,
  Title                    = {Latex Document Preparation System},
  Author                   = {Leslie Lamport},
  Year                     = {1985},
  ISBN                     = {978-0201157901},
  Publisher                = {Addison Wesley Publishing Co}
}

@Book{LIMA:NUM_FUNC_R,
  Title                    = {Números e Funções Reais},
  Author                   = {Elon Lages Lima},
  Year                     = {2013},
  Edition                  = {1},
  ISBN                     = {9788585818814},
  Pages                    = {289},
  Publisher                = {SBM},
  Series                   = {Coleção Profmat},

  Address                  = {Rio de Janeiro}
}

@Article{LOPES:CELULAR,
  Title                    = {O uso do celular em sala de aula como ferramenta pedagógica: benefícios e desafios},
  Author                   = {P. A. Lopes and C. C. C. Pimenta},
  Year                     = {2017},
  Number                   = {1},
  Pages                    = {52-66},
  Volume                   = {3},

  Address                  = {Recife - PE},
  Journal                  = {Revista Cadernos de Estudos e Pesquisa na Educação Básica},
  Publisher                = {{CAP} {UFPE}}
}

@Book{MORAISFILHO:MAN_REDACAO_MAT,
  Title                    = {Manual de Redação Matemática},
  Author                   = {Daniel Cordeiro de Morais Filho},
  Year                     = {2014},
  Edition                  = {1},
  ISBN                     = {9788583370192},
  Pages                    = {169},
  Publisher                = {SBM},

  Address                  = {Rio de Janeiro}
}

@Book{MUNIZNETO:FUND_CALC,
  Title                    = {Fundamentos de Cálculo},
  Author                   = {Antonio Caminha Muniz Neto},
  Year                     = {2015},
  Edition                  = {1},
  ISBN                     = {9788583370369},
  Pages                    = {561},
  Publisher                = {SBM},
  Series                   = {Coleção Profmat},

  Address                  = {Rio de Janeiro}
}

@Book{MUNIZNETO:GEO,
  Title                    = {Geometria},
  Author                   = {Antonio Caminha Muniz Neto},
  Year                     = {2013},
  Edition                  = {1},
  ISBN                     = {9788585818937},
  Pages                    = {502},
  Publisher                = {SBM},
  Series                   = {Coleção Profmat},

  Address                  = {Rio de Janeiro}
}

@Book{PITOMBEIRA:TOP_HIST_MAT,
  Title                    = {Tópicos de História da Matemática},
  Author                   = {João Bosco Pitombeira and 
 Tatiana Marins Roque},
  Year                     = {2012},
  Edition                  = {1},
  ISBN                     = {9788585818654},
  Pages                    = {269},
  Publisher                = {SBM},
  Series                   = {Coleção Profmat},

  Address                  = {Rio de Janeiro}
}

@Book{RABELO:AVA_EDUC,
  Title                    = {Avaliação Educacional},
  Author                   = {Mauro Luiz Rabelo},
  Year                     = {2013},
  Edition                  = {1},
  ISBN                     = {9788583370062},
  Pages                    = {260},
  Publisher                = {SBM},
  Series                   = {Coleção Profmat},
  Subtitle                 = {fundamentos, metodologia e aplicações no contexto brasileiro},

  Address                  = {Rio de Janeiro}
}

@Book{ROUSSEAU:MAT_ATU_1,
  Title                    = {Matemática e Atualidade - Vol. 1},
  Author                   = {Christiane Rousseau and
 Yvan Saint-Aubin},
  Year                     = {2015},
  Edition                  = {1},
  ISBN                     = {9788583370314},
  Pages                    = {326},
  Publisher                = {SBM},
  Series                   = {Coleção Profmat},

  Address                  = {Rio de Janeiro}
}

@Book{ROUSSEAU:MAT_ATU_2,
  Title                    = {Matemática e Atualidade - Vol. 2},
  Author                   = {Yvan Saint-Aubin and 
 Christiane Rousseau},
  Year                     = {2015},
  Edition                  = {1},
  ISBN                     = {9788583370697},
  Pages                    = {374},
  Publisher                = {SBM},
  Series                   = {Coleção Profmat},

  Address                  = {Rio de Janeiro}
}

@Manual{REGINALDO:LATEX,
  Title                    = {Introdução ao {LaTeX}},
  Author                   = {Reginaldo J. Santos},
  Year                     = {10-2002},
  Url                      = {http://www.mat.ufmg.br/~regi/topicos/intlat.pdf},

  Address                  = {Belo Horizonte - MG},
  Urlaccessdate            = {18 de março de 2018}
}

@Manual{MARCIO:LATEX,
  Title                    = {Curso de Introdução ao {LaTeX}},
  Author                   = {Márcio Nascimento da Silva},
  Year                     = {2011-06},
  Publisher                = {Universidade Estadual Vale do Acaraú},
  Url                      = {http://arquivoescolar.org/bitstream/arquivo-e/197/1/apostila_latex_marcio_nascimento_da_silva_uva_ce_brasil.pdf},

  Urlaccessdate            = {18 de março de 2018}
}

@Manual{RANIERE:LATEX,
  Title                    = {Minicurso de {LaTeX}},
  Author                   = {Raniere Silva},
  Editor                   = {IMECC -- UNICAMP},
  Year                     = {2013},
  Url                      = {https://www.ime.unicamp.br/~encpos/VIII_EnCPos/Apostila_Latex.pdf},

  Address                  = {Campinas - SP},
  Urlaccessdate            = {18 de março de 2018}
}

@Mastersthesis{SOUZA:Bayesiana,
  Title                    = {Probabilidade Bayesiana: Conjecturas, Lógica e Aplicações},
  Author                   = {Carlos Roberto Amâncio Sousa},
  School                   = {Universidade Federal de Viçosa},
  Year                     = {2018}
}

@Inproceedings{SOUZA:1994,
  Title                    = {Influência da correção e do preparo do solo sobre algumas
 propriedades químicas do solo cultivado com bananeiras},
  Author                   = {L. S. Souza and A. L. Borges and J. O. Rezende},
  booktitle                = {Anais...},
  Year                     = {1994},
  Organization             = {Reuni\~ao Brasileira de Fertilidade do Solo e Nutri{\c c}\~ao de
 Plantas},
  Pages                    = {3-4},
  Publisher                = {EMBRAPA, CATSA},

  Address                  = {Petrolina},
  Conference-location      = {Petrolina},
  Conference-number        = {21},
  Conference-year          = {1994}
}

@Book{WAGNER:T_PROB_ELEM,
  Title                    = {Temas e Problemas Elementares},
  Author                   = {Eduardo Wagner and
 Elon Lages Lima and 
 Paulo Cezar Pinto Carvalho and 
 Augusto Cezar de Oliveira Morgado},
  Year                     = {2016},
  Edition                  = {4},
  ISBN                     = {9788585818746},
  Pages                    = {283},
  Publisher                = {SBM},
  Series                   = {Coleção Profmat},

  Address                  = {Rio de Janeiro}
}

@Misc{TEXSTUDIO,
  Title                    = {{TeXstudio} 2.12.8},
  Author                   = {Benito van der Zander amd Jan Sundermeyer and Daniel Braun and Tim Hoffmann},
  Url                      = {https://www.texstudio.org},
  Year                     = {2018-02-03},

  Urlaccessdate            = {08 de abril de 2018}
}

@Misc{JABREF,
  Title                    = {{JabRef} 4.1},
  Url                      = {http://www.jabref.org},
  Year                     = {2017-12-23},
  Organization             = {JabRef},

  Urlaccessdate            = {08 de abril de 2018}
}

@Misc{WIKI:TEO_FUND_ARIT,
  Title                    = {Teorema fundamental da aritmética},
  Url                      = {https://pt.wikipedia.org/wiki/Teorema_fundamental_da_aritmética},
  Year                     = {2017-09-13},
  Organization             = {Wikip\'edia},

  Urlaccessdate            = {18 de março de 2018}
}

@Manual{NBR6023:2000,
  Title                    = {{NBR} 6023},
  Year                     = {2000},
  Organization             = {Associa{\c c}\~ao Brasileira de Normas T\'ecnicas},
  Pages                    = {22},
  Subtitle                 = {Informação e documentação -- Referências -- Elaboração},

  Address                  = {Rio de Janeiro}
}

@Manual{LDB,
  Title                    = {Lei de Diretrizes e Bases da Educação Nacional n. 9394, de 20 de Dezembro de 1996},
  Year                     = {1996},
  Note                     = {Estabelece as diretrizes e bases da educação nacional},
  Organization             = {Brasil. Minist\'erio da Educa{\c c}\~ao},
  Publisher                = {MEC},

  Address                  = {Brasília}
}

dissertacao.tex — the file that is compiled · 135 KB

135 KB — too long to show here. It arrives with the project.

figs/bad-cat.jpg — binary, 46 KB

figs/calculus.png — binary, 3 KB

figs/conjuntos-complemento-uniao.jpg — binary, 115 KB

figs/conjuntos-diferenca.jpg — binary, 64 KB

figs/conjuntos-intersecao.jpg — binary, 47 KB

figs/conjuntos-uniao.jpg — binary, 105 KB

figs/editor-equacoes.png — binary, 36 KB

figs/euler.png — binary, 111 KB

figs/fast-forward.png — binary, 958 B

figs/latex-pet.png — binary, 73 KB

figs/pitagoras.png — binary, 6 KB

profmat-cefet.cls · 35 KB
%------------------------------------------------------------------------------%
%
%   Classe LaTeX para formatar dissertações PROFMAT no CEFET-MG
%
%   Edite este arquivo apenas se tiver certeza do que está fazendo!
%
% Luis Alberto D'Afonseca
% [email protected]
%
%------------------------------------------------------------------------------%
%
% Esta classe herda as seguintes opções da classe base
%    - draft   - Produz uma versão de rascunho
%    - fleqn   - Alinha as equações a esquerda
%
% Nova opção de formatação
%    - short - Remove quase todas as páginas do preambulo do trabalho
%
%------------------------------------------------------------------------------%

\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{profmat-cefet}[2021/11/18 CEFET-MG PROFMAT Dissertation LaTeX Class]

\newcommand*{\getclass}{profmat-cefet}

% Package Options
%------------------------------------------------------------------------------%

% Add extra functionalities
\RequirePackage{etoolbox}
\RequirePackage{xparse}

% Default options
\newcommand*{\@DefUniv}{}
\newtoggle{@SHORT}

\newcommand*{\@TEXTMODE}{final}
\newcommand*{\@EQNALINEMENT}{}

% Text formating options
\DeclareOption{short}{\toggletrue{@SHORT}}
\DeclareOption{draft}{\renewcommand*{\@TEXTMODE}    {draft}}
\DeclareOption{fleqn}{\renewcommand*{\@EQNALINEMENT}{fleqn}}

\DeclareOption*
{
  \PackageWarning{\getclass}{Unknown ‘\CurrentOption’}
}

\ProcessOptions\relax

% Load base class: book
\LoadClass[12pt,a4paper,onecolumn,notitlepage,oneside,openany,\@TEXTMODE,\@EQNALINEMENT]{book}

% Packages to pt_BR localization
%------------------------------------------------------------------------------%

\RequirePackage[utf8]{inputenc}
\RequirePackage[english,brazil]{babel}
\RequirePackage{indentfirst}
\RequirePackage{icomma}
\RequirePackage{csquotes}

% Packages to add fonts and fix typesetting
%------------------------------------------------------------------------------%

\RequirePackage{ae}
\RequirePackage[T1]{fontenc}
\RequirePackage[final]{microtype}
\raggedbottom

% Add bibliography to table of contents
\RequirePackage[nottoc,notlot,notlof]{tocbibind}

% Ajust line spacings
%------------------------------------------------------------------------------%

% Line spacing control
\RequirePackage{setspace}

% Sets line spacing for preambule
\setstretch{1.0}

% More mathematical symbols
%------------------------------------------------------------------------------%

% Avoid upper casing math
\usepackage[overload]{textcase}

\RequirePackage{latexsym}
\RequirePackage{amsmath}
\RequirePackage{amsthm}
\RequirePackage{amsfonts}
\RequirePackage{amssymb}
\RequirePackage{nccmath}

% To add images
%------------------------------------------------------------------------------%

\RequirePackage{tikz}

% Add images
\RequirePackage{graphicx}

% To improve floats positioning
\def\fps@figure{htbp}
\def\fps@table{htbp}
\setcounter{topnumber}{4}
\setcounter{bottomnumber}{4}
\setcounter{totalnumber}{10}
\renewcommand{\textfraction}{0.15}
\renewcommand{\topfraction}{0.85}
\renewcommand{\bottomfraction}{0.70}
\renewcommand{\floatpagefraction}{0.66}

\setcounter   {dbltopnumber}           {2}
\renewcommand*{\dbltopfraction}        {1}
\renewcommand*{\dblfloatpagefraction}{0.9}

% Caption configuration options
\RequirePackage[width=0.96\linewidth,justification=centerlast,labelfont=bf]{caption}

% Force floats to be on the original section
\RequirePackage[below]{placeins}

% Configurations and packages
%------------------------------------------------------------------------------%

% Allow margin adjustment
\RequirePackage{changepage}

% Allow inclusion of pdf pages on final document
\RequirePackage{pdfpages}

% Allow to comment parts of text
\RequirePackage{comment}

% Allow absolute positioning of elements on a page
\RequirePackage{textpos}

% More options to table configuration
\RequirePackage{array}

% Page Geometry
%------------------------------------------------------------------------------%

% Margin adjustment
\RequirePackage[a4paper,margin=25mm,top=30mm,bottom=20mm]{geometry}

% Text formatting
%------------------------------------------------------------------------------%

\setlength{\parindent}{1.25cm}

% Section numbering level
\setcounter{secnumdepth}{2}
\setcounter{tocdepth}{2}

% Chapter title configuration
\RequirePackage[bf,rm,compact,raggedright]{titlesec}
\font\bigrm = cmr10 at 35pt
\titleformat{\chapter}[hang]
            {\normalfont\huge\raggedright\setstretch{1.1}}
            {\textbf{\bigrm{\thechapter}}}
            {.7em}
            {\bfseries}
            [{\vspace{-5mm}\hrulefill\\[.8ex]}]
\titlespacing{\chapter}{0cm}{0.5cm}{1.5cm}

% Bug fix for titlesec version 2.10.1
% https://bugs.launchpad.net/ubuntu/+source/texlive-extra/+bug/1574052
\@ifpackagelater{titlesec}{2016/03/21}{}
{
  \patchcmd{\ttlh@hang}{\parindent\z@}{\parindent\z@\leavevmode}{}{}
  \patchcmd{\ttlh@hang}{\noindent}{}{}{}
}

% Page header configuration
\RequirePackage{fancyhdr}
\renewcommand*{\chaptermark}[1]{\markboth{\thechapter.\ #1}{} }
\renewcommand*{\sectionmark}[1]{\markright{\thesection\ #1}}
\lhead[\fancyplain{}{\bfseries\thepage}]
      {\fancyplain{}{\small\slshape\bfseries\textit{\nouppercase{\leftmark}}}}
\rhead[\fancyplain{}{\small\slshape\bfseries\textit{\nouppercase{\rightmark}}}]
      {\fancyplain{}{\bfseries\thepage}}
\cfoot[\fancyplain{\bfseries\thepage}{}]
      {\fancyplain{\bfseries\thepage}{}}
\renewcommand*{\headrulewidth}{0.3pt}

\setlength{\headheight}{15pt}

% Appendix and annex parts
%------------------------------------------------------------------------------%

\renewcommand{\appendix}%
{%
\renewcommand{\chaptername}{Ap\^endice}
\renewcommand{\thechapter}{\Alph{chapter}}
%
\titleformat{\chapter}[display]
            {\normalfont\huge\raggedright\setstretch{1.1}}
            {\textbf{Ap\^endice \thechapter}}
            {0pt}
            {\bfseries}
            [{\vspace{-5mm}\hrulefill\\[.8ex]}]
%
\addtocontents{toc}{\protect{\par\vspace{\baselineskip}\noindent{\textbf{Ap\^endices}}\par}}
\setcounter{chapter}{0}
}

\newcommand{\annex}%
{%
\renewcommand{\chaptername}{Anexo}
\renewcommand{\thechapter}{\Alph{chapter}}
%
\titleformat{\chapter}[display]
            {\normalfont\huge\raggedright\setstretch{1.1}}
            {\textbf{Anexo \thechapter}}
            {0pt}
            {\bfseries}
            [{\vspace{-5mm}\hrulefill\\[.8ex]}]
%
\addtocontents{toc}{\protect{\par\vspace{\baselineskip}\noindent{\textbf{Anexos}}\par}}
\setcounter{chapter}{0}
\setstretch{1.0}
}

% To create Hyperlinks on pdf file
%------------------------------------------------------------------------------%

% Create hyperlinks and set nice colors
\RequirePackage[colorlinks=true,
                linktocpage=true,
                linkcolor=blue,
                urlcolor=blue,
                citecolor=blue]{hyperref}

\urlstyle{same}
\def\UrlBreaks{\do\/\do-}

% Theorems and proofs
%------------------------------------------------------------------------------%

% Theorem style
\newtheoremstyle{teostyle}%                   Name
{1.1\topsep}%                                 Space above
{1.1\topsep}%                                 Space below
{}%                                           Body font
{}%                                           Indent amount
{\bfseries}%                                  Theorem head font
{: }%                                         Punctuation after theorem head
{1pt}%                                        Space after theorem head
{\thmname{#1}\thmnumber{ #2}\thmnote{ (#3)}}% Theorem head spec

\theoremstyle{teostyle}

\newtheorem{teorema}   {Teorema}[chapter]
\newtheorem{axioma}    [teorema]{Axioma}
\newtheorem{definicao} [teorema]{Definição}
\newtheorem{postulado} [teorema]{Postulado}
\newtheorem{proposicao}[teorema]{Proposição}
\newtheorem{lema}      [teorema]{Lema}
\newtheorem{corolario} [teorema]{Corolário}

\newtheorem{exemplo}   {Exemplo}   [section]
\newtheorem{exercicio} {Exercício} [section]

% Adding identation to demonstrations
\renewenvironment{proof}[1][\proofname]
{%
  \par
  \pushQED{\qed}%
  \normalfont \topsep6\p@\@plus6\p@\relax
  \list{}{\leftmargin=.5\parindent
          \rightmargin=.5\parindent
          \settowidth{\itemindent}{\itshape#1}%
          \labelwidth=\itemindent
          \parsep=0pt
    \listparindent=\parindent
  }
  \item[\hskip\labelsep
        \itshape
    #1\@addpunct{.}]\ignorespaces
}
{%
  \popQED\endlist\@endpefalse
}

% Redefining quote and quotation to format text to italic
%------------------------------------------------------------------------------%

\renewenvironment{quote}
{%
  \setlength{\parindent}{0pt}%
  \vspace{0.5\baselineskip}%
  \begin{adjustwidth}{4cm}{0pt}%
    \begin{spacing}{1}%
    \begin{small}%
}
{%
    \end{small}%
    \end{spacing}%
  \end{adjustwidth}%
  \vspace{-0.4\baselineskip}%
}

\renewenvironment{quotation}
{%
  \setlength{\parindent}{0pt}%
  \vspace{0.3\baselineskip}%
  \begin{adjustwidth}{4cm}{0pt}%
    \begin{spacing}{1}%
    \begin{small}%
    \setlength{\parskip}{0.5\baselineskip}%
}
{%
    \end{small}%
    \end{spacing}%
  \end{adjustwidth}%
  \vspace{-0.3\baselineskip}%
}

% New commands
%------------------------------------------------------------------------------%

% Translating mathematical function names to Portuguese
\let\sin\relax        \DeclareMathOperator{\sin}{sen}
\let\csc\relax        \DeclareMathOperator{\csc}{cossec}
\let\tan\relax        \DeclareMathOperator{\tan}{tg}
\let\cot\relax        \DeclareMathOperator{\cot}{cotg}
\let\arcsin\relax     \DeclareMathOperator{\arcsin}{arcsen}
\let\arctan\relax     \DeclareMathOperator{\arctan}{arctg}

% New inverse trigonometric functions
\DeclareMathOperator{\arcsec}{arcsec}
\DeclareMathOperator{\arccsc}{arccossec}
\DeclareMathOperator{\arccot}{arccotg}

% Common numerical sets
\newcommand*{\N}{\mathbb{N}}
\newcommand*{\Z}{\mathbb{Z}}
\newcommand*{\Q}{\mathbb{Q}}
\newcommand*{\R}{\mathbb{R}}
\newcommand*{\C}{\mathbb{C}}

%------------------------------------------------------------------------------%
%------------------------------------------------------------------------------%
%------------------------------------------------------------------------------%
%
%                       University Dependent Contend
%
%------------------------------------------------------------------------------%
%------------------------------------------------------------------------------%
%------------------------------------------------------------------------------%

\newcommand*{\TheUNI}       {CEFET-MG}
\newcommand*{\ThePlace}     {Belo Horizonte}
\newcommand*{\TheUniversity}{Centro Federal de Educação Tecnológica de Minas Gerais}

\newcommand*{\@TheDeclaration}
{%
  Dissertação apresentada
  ao Centro Federal de Educação Tecnológica de Minas Gerais
  como parte das exigências do Programa de Pós-Graduação Mestrado Profissional em
  Matemática em Rede Nacional, para obter o título de Mestre.
}

\newcommand{\@DrawUNILogo}
{
  \definecolor{c004279}{RGB}{0,66,121}
  \def \globalscale {1.000000}
  \begin{tikzpicture}[y=0.80pt, x=0.80pt, yscale=-\globalscale, xscale=\globalscale, inner sep=0pt, outer sep=0pt]
  \begin{scope}[shift={(-101.65891,-256.28363)},fill=c004279]
  \path[fill=c004279,even odd rule]
             (160.2752,348.6600) --  (175.5969,348.6600) -- (174.7414,352.6205) --
             (165.8578,352.6205) --  (164.9151,357.2315) -- (173.4195,357.2315) --
             (172.5793,361.2226) --  (164.0439,361.2226) -- (162.2098,369.9889) --
             (155.7254,369.9889) --  (160.2752,348.6600) --
    cycle    (210.6948,358.5311) --  (216.8959,358.5311) -- (216.0555,362.4045) --
             (209.8546,362.4045) --  (210.6948,358.5311) --
    cycle    (140.8443,344.3285) --  (139.2048,349.1037) ..
    controls (135.3563,348.1321) and (130.6018,347.9459) .. (127.2197,349.1649) ..
    controls (119.4029,351.9833) and (118.2351,363.7836) .. (127.7976,365.1200) ..
    controls (130.5637,365.4642) and (134.5431,365.2735) .. (136.9555,364.0360) --
             (135.5815,370.1771) ..
    controls (130.0766,371.5732) and (121.9788,371.2730) .. (116.9553,368.3983) ..
    controls (109.5607,364.1680) and (110.6005,354.2979) .. (115.8328,348.7461) ..
    controls (121.4054,342.8331) and (132.0540,341.9899) .. (140.8443,344.3285) --
    cycle    (177.7861,348.6600) --  (193.6055,348.6600) -- (192.7500,352.6205) --
             (183.1338,352.6205) --  (182.2474,356.8984) -- (191.3103,356.8984) --
             (190.5007,360.7411) --  (181.4224,360.7411) -- (180.2426,365.9976) ..
    controls (185.1050,366.0897) and (186.5336,365.9838) .. (190.1032,365.8998) --
             (189.4044,369.9889) --  (173.2363,369.9889) -- (177.7861,348.6600) --
    cycle    (275.9776,347.1539) --  (275.9515,347.2303) -- (275.9776,347.2393) --
             (275.9772,347.2413) ..
    controls (275.9774,347.2413) and (275.9776,347.2413) .. (275.9776,347.2413) --
             (275.8718,347.4626) --  (274.5428,351.3323) ..
    controls (271.1761,350.4826) and (266.9388,350.3193) .. (263.9805,351.3861) ..
    controls (257.1416,353.8520) and (256.1199,364.1754) .. (264.4863,365.3449) ..
    controls (265.3158,365.4482) and (266.7400,365.4961) .. (267.6525,365.4714) --
             (268.6861,360.6582) --  (264.8417,360.6582) -- (264.8421,360.6562) --
             (264.8417,360.6562) --  (265.7495,356.5962) ..
    controls (267.9820,356.5745) and (268.9470,356.6100) .. (275.2920,356.4833) ..
    controls (274.3410,360.9247) and (273.6601,364.8818) .. (272.7104,369.3278) ..
    controls (272.2795,369.4694) and (271.8379,369.5981) .. (271.3855,369.7146) --
             (271.3732,369.7692) ..
    controls (269.5004,370.2441) and (267.2849,370.4937) .. (265.0173,370.4748) ..
    controls (264.9055,370.4758) and (264.7924,370.4768) .. (264.6791,370.4768) ..
    controls (263.6527,370.4768) and (262.6902,370.4048) .. (261.7897,370.2615) ..
    controls (259.3193,369.9492) and (257.2128,369.2869) .. (255.3373,368.2135) ..
    controls (248.8677,364.5117) and (249.7774,355.8766) .. (254.3555,351.0194) ..
    controls (257.4578,347.7279) and (262.0979,346.2327) .. (267.2332,346.1071) --
             (267.3383,346.1041) ..
    controls (267.6348,346.0951) and (267.9365,346.0905) .. (268.2435,346.0905) ..
    controls (269.6558,346.0905) and (271.0011,346.1853) .. (272.2844,346.3705) ..
    controls (272.9558,346.4675) and (273.6154,346.5948) .. (274.2615,346.7500) ..
    controls (274.8407,346.8697) and (275.4134,347.0038) .. (275.9776,347.1539) --
    cycle    (195.5937,348.6600) --  (212.6386,348.6600) -- (211.7523,352.7742) --
             (206.5715,352.7742) --  (202.9082,369.9889) -- (196.3572,369.9889) --
             (200.0205,352.7742) --  (194.7382,352.7742) -- (195.5937,348.6600) --
    cycle    (223.3844,346.6677) --  (233.3183,346.6677) -- (233.8283,358.5209) ..
    controls (233.8391,358.7729) and (233.8453,359.0367) .. (233.8508,359.3167) ..
    controls (233.8568,359.5969) and (233.8619,359.9500) .. (233.8619,360.3761) ..
    controls (233.8619,360.7400) and (233.8506,361.1550) .. (233.8340,361.6257) ..
    controls (233.8172,362.0964) and (233.7949,362.6230) .. (233.7611,363.2004) ..
    controls (233.9684,362.4999) and (234.2286,361.7590) .. (234.5401,360.9758) ..
    controls (234.8507,360.1954) and (235.2268,359.3460) .. (235.6498,358.4257) --
             (241.0526,346.6677) --  (251.3451,346.6677) -- (246.3068,369.9987) --
             (240.2792,369.9987) ..
    controls (241.6234,363.5621) and (242.7666,357.3047) ..
             (244.4824,350.9520) --  (244.5469,350.9520) -- (235.4674,369.9987) --
             (229.1964,369.9987) --  (228.3611,351.2124) -- (228.3416,351.2124) ..
    controls (227.2088,357.6927) and (225.7723,363.5655) .. (224.3847,369.9987) --
             (218.3964,369.9987) --  (223.3844,346.6677) --
    cycle    (142.1958,348.6600) --  (158.0153,348.6600) -- (157.1598,352.6205) --
             (147.5435,352.6205) --  (146.6572,356.8984) -- (155.7201,356.8984) --
             (154.9105,360.7411) --  (145.8321,360.7411) -- (144.6524,365.9976) ..
    controls (149.5147,366.0897) and (150.9434,365.9838) .. (154.5129,365.8998) --
             (153.8141,369.9889) --  (137.6460,369.9889) -- (142.1958,348.6600) --
    cycle;
  \path[fill=c004279,even odd rule]
             (186.3326,288.2728) ..
    controls (186.4272,288.2480) and (186.5035,288.2046) .. (186.5767,288.1763) ..
    controls (187.1950,287.9362) and (186.9110,287.3581) .. (186.3753,287.4096) ..
    controls (185.7638,287.4683) and (185.1142,287.6079) .. (184.5124,287.7270) ..
    controls (184.1131,287.8059) and (183.7070,287.8956) .. (183.2965,287.9941) ..
    controls (171.3129,290.8733) and (155.4377,301.9900) .. (161.1045,318.0279) ..
    controls (166.4102,329.6990) and (179.7636,333.1180) .. (190.5299,333.4930) ..
    controls (195.0153,333.6533) and (200.4053,333.2596) .. (206.5858,331.9442) ..
    controls (207.8866,331.6678) and (208.8813,331.3134) .. (210.1305,330.5154) --
             (224.0093,320.4071) --  (224.4922,320.0620) ..
    controls (225.0145,319.7108) and (225.5934,319.9042) .. (225.3095,320.6795) ..
    controls (224.9575,321.6407) and (223.9969,322.9029) .. (223.3623,323.7474) ..
    controls (222.8326,324.4519) and (222.2472,325.1097) .. (221.5058,325.8130) ..
    controls (218.4367,328.7873) and (214.8707,331.7214) .. (211.3417,334.0894) ..
    controls (210.1388,334.8967) and (208.8705,335.7049) .. (207.4733,336.1146) ..
    controls (206.3606,336.4504) and (205.2224,336.7395) .. (204.0653,336.9831) ..
    controls (195.3481,338.8192) and (185.5419,338.0929) .. (177.1999,335.6184) ..
    controls (166.3531,332.6839) and (154.3814,322.1047) .. (157.2849,307.6408) ..
    controls (159.3917,296.3795) and (170.7822,289.0661) .. (181.7888,286.0270) ..
    controls (191.0073,283.4817) and (201.0873,284.1092) .. (209.8786,287.9973) ..
    controls (210.7907,288.4008) and (210.6906,288.4172) .. (211.4820,287.8037) --
             (227.9804,275.0121) --  (228.2581,274.8038) ..
    controls (228.8398,274.3902) and (228.7341,273.9933) .. (228.3043,273.7644) ..
    controls (228.0608,273.6348) and (227.8086,273.5168) .. (227.5603,273.3986) ..
    controls (224.6811,272.0288) and (221.6580,271.1138) .. (218.9475,270.4481) ..
    controls (217.9809,270.2108) and (217.0074,269.9841) .. (216.0340,269.7840) ..
    controls (204.2736,267.3633) and (194.2433,269.5995) .. (184.8567,273.6780) ..
    controls (182.7171,274.6076) and (180.6303,275.7540) .. (178.5930,276.8487) ..
    controls (176.4773,278.0774) and (174.1571,279.5354) .. (171.9564,281.0165) ..
    controls (170.8818,281.7399) and (169.8670,282.4796) .. (168.8555,283.1791) ..
    controls (168.2310,283.6779) and (167.6151,282.9414) .. (168.2094,282.3763) ..
    controls (169.0106,281.6146) and (169.8785,280.8375) .. (170.7867,280.0693) ..
    controls (173.3493,277.9022) and (176.2339,275.8063) .. (178.8575,274.3247) ..
    controls (186.4287,270.0489) and (194.9646,267.1449) .. (203.8429,266.4501) ..
    controls (218.0451,265.3394) and (234.7484,269.6673) .. (241.9120,283.0356) ..
    controls (245.6627,290.0357) and (244.4924,296.6706) .. (240.2708,302.1077) ..
    controls (231.4545,313.4625) and (216.3743,317.1698) .. (202.5101,316.9215) ..
    controls (191.6994,316.7279) and (179.8811,313.8694) .. (175.4536,306.9508) ..
    controls (170.6499,299.0105) and (177.6839,292.6297) .. (184.4634,289.0975) ..
    controls (185.0723,288.7811) and (185.6906,288.5235) .. (186.3326,288.2728) --
    cycle;
  \end{scope}
  \end{tikzpicture}
}

%------------------------------------------------------------------------------%

% Defines university place
\newcommand*{\@Place}
{
  \null
  \vfill
  \begin{center}
    \textsc{\ThePlace \\ \@TheYear}
  \end{center}
}

% Defines the declaration
\newcommand*{\@Declaration}
{%
  \begin{spacing}{1}
    % Author name
    \begin{textblock*}{\linewidth}(0cm,-\baselineskip)
      \begin{center}
        \textsc{\large\@TheAuthor}
      \end{center}
    \end{textblock*}
    % Dissertation title
    \begin{textblock*}{\linewidth}[0,0.5](0cm,0.23\textheight)
      \begin{center}
        \begin{spacing}{1.7}
            \textbf{\large\@TheTITLE}
        \end{spacing}
      \end{center}
    \end{textblock*}
    % Declaration
    \begin{textblock*}{0.59\linewidth}(0.4\linewidth,0.35\textheight)
      \noindent \@TheDeclaration
    \end{textblock*}
  \end{spacing}
}

% Commands to collect dissertation information
%------------------------------------------------------------------------------%

\newcommand*{\@Monthpt}[1]
{%
  \ifcase#1
  \or janeiro%    1
  \or fevereiro%  2
  \or março%      3
  \or abril%      4
  \or maio%       5
  \or junho%      6
  \or julho%      7
  \or agosto%     8
  \or setembro%   9
  \or outubro%   10
  \or novembro%  11
  \or dezembro%  12
  \fi%
}

% Signature Table
%------------------------------------------------------------------------------%

\newcommand*{\@SignatureBox}[1]
{
  \begin{minipage}[t][4\baselineskip]{0.6\linewidth}
    \begin{spacing}{1}
      \begin{center}
        \hrulefill \\ {#1}
      \end{center}
    \end{spacing}
  \end{minipage}
}

\newcommand*{\@SignaturesTable}
{
  \begin{center}
    \vspace{1\baselineskip} \@SignatureBox{\@TheAuthor \\ (\@AuthorTitle) } \\
    \vspace{2\baselineskip} \@SignatureBox{\@TheAdviser\\ (\@AdviserTitle)}
  \end{center}
}

% Dissertation Title
%------------------------------------------------------------------------------%

\newcommand*{\@TheTitle}{Título da Dissertação}
\newcommand*{\@TheTITLE}{TÍTULO DA DISSERTAÇÃO}

\renewcommand*{\title}[1]{\renewcommand*{\@TheTitle}{{#1}}\renewcommand*{\@TheTITLE}{\MakeUppercase{#1}}}

% Dissertation Author
%------------------------------------------------------------------------------%

\newcommand*{\@AuthorTitle}{Autor(a)}
\newcommand*{\@TheAuthor}  {Nome do(a) Autor(a)}

\newcommand*{\autor}[1]
{
  \renewcommand*{\@AuthorTitle}{Autor}
  \renewcommand*{\@TheAuthor}{{#1}}
}
\newcommand*{\autora}[1]
{
  \renewcommand*{\@AuthorTitle}{Autora}
  \renewcommand*{\@TheAuthor}{{#1}}
}

\renewcommand{\author}[1]{\autor{#1}}

% Adiviser
%------------------------------------------------------------------------------%

\newcommand*{\@AdviserTitle}{Orientador(a)}
\newcommand*{\@TheAdviser}{Nome do(a) Orientador(a)}

\newcommand*{\orientador} [1]{ \renewcommand*{\@TheAdviser}{#1} \renewcommand*{\@AdviserTitle}{Orientador}}
\newcommand*{\orientadora}[1]{ \renewcommand*{\@TheAdviser}{#1} \renewcommand*{\@AdviserTitle}{Orientadora}}

% Co-Adviser
%------------------------------------------------------------------------------%

\newtoggle{@COADV}
\togglefalse{@COADV}

\newcommand*{\coorientacao}[1]%
{%
  \toggletrue{@COADV}
  \newcommand*{\@CoadviserDeclaration}{Coorientação \\ {#1} }
}

% Defence Date
%------------------------------------------------------------------------------%
\newcommand*{\@TheDay}    {31}
\newcommand*{\@TheMonth}  {02}
\newcommand*{\@TheYear}   {2000}
\newcommand*{\@TheMonthpt}{\@Monthpt{2}}
\newcommand*{\@TheMonthEN}{\@MonthEN{2}}
\newcommand*{\@TheDate}   {\@TheDay\ de \@TheMonthpt\ de \@TheYear}

\renewcommand*{\date}[3]
{
  \renewcommand*{\@TheDay}    {{#1}}
  \renewcommand*{\@TheMonth}  {{#2}}
  \renewcommand*{\@TheYear}   {{#3}}
  \renewcommand*{\@TheMonthpt}{\@Monthpt{#2}}
  \renewcommand*{\@TheMonthEN}{\@MonthEN{#2}}
  \renewcommand*{\@TheDate}   {\@TheDay\ de \@TheMonthpt\ de \@TheYear}
}

% Board Names
%------------------------------------------------------------------------------%
\newcommand{\@TheBoard}{Membros da Banca}

\newcommand{\banca}[1]{\renewcommand{\@TheBoard}{#1}}

% Dissertation preamble
%------------------------------------------------------------------------------%

% Make Title page
%------------------------------------------------------------------%
\newcommand*{\MakeTitlePage}
{%
  \begin{center}
    \textsc{\TheUniversity \\[1mm] PROFMAT - Mestrado Profissional em Matemática em Rede Nacional} \\[9mm]
    \@DrawUNILogo
  \end{center}
  \begin{textblock*}{\linewidth}(0cm,0.03\textheight)
    \begin{center}
      \textsc{\large\@TheAuthor}
    \end{center}
  \end{textblock*}
  \begin{textblock*}{\linewidth}(0cm,0.2\textheight)
    \begin{center}
      \begin{spacing}{2}
        \textsc{\LARGE\@TheTitle}
      \end{spacing}
    \end{center}
  \end{textblock*}
  \@Place
}

% Make Declaration page
%------------------------------------------------------------------%
\newcommand*{\MakeDeclarationPage}
{%
  \@Declaration \par \vspace{\baselineskip}
  \begin{textblock*}{0.55\linewidth}(0.43\linewidth,0.45\textheight)
    \begin{flushleft}
      \hyphenpenalty   10000
      \exhyphenpenalty 10000
                        \noindent \hspace{-0.06\linewidth}\@AdviserTitle\\ \@TheAdviser \par \vspace{\baselineskip}
      \iftoggle{@COADV}{\noindent \hspace{-0.06\linewidth}\@CoadviserDeclaration        \par \vspace{\baselineskip}}{}
                        \noindent \hspace{-0.06\linewidth}Banca Examinadora\\ \@TheBoard
    \end{flushleft}
  \end{textblock*}
  \@Place
}

% Make index card page
%------------------------------------------------------------------%
\newcommand*{\MakeIndexCardPage}
{%
  \IfFileExists{./ficha_catalografica.pdf}    {\includepdf[pages=last-last]{./ficha_catalografica.pdf}}{%
  \IfFileExists{./ficha_catalografica.pdf.pdf}{\includepdf[pages=last-last]{./ficha_catalografica.pdf.pdf}}{%
    \clearpage
    \null\vspace{3cm}
    \begin{adjustwidth}{3cm}{3cm}%
      \begin{center}
        \textsc{\Large Ficha Catalográfica} \vfill
        {
          Copie o arquivo
          \\[2mm]
          {\textbf{\texttt{ficha\_catalografica.pdf}}}
          \\[2mm]
          fornecido pela \TheUNI{} para a pasta do trabalho e a ficha catalográfica será automaticamente incluída aqui.
          \vfill
          Para substituir a página de assinaturas pelo aquivo escaneado com as assinaturas,\\ crie o arquivo
          \\[2mm]
          {\textbf{\texttt{assinaturas.pdf}}}
          \\[2mm]
          e copie-o na pasta do trabalho. Ele substituirá a página de assinaturas.
          \vfill
        }
      \end{center}
    \end{adjustwidth}
    \clearpage
  }}
}

% Make Signatures page
%------------------------------------------------------------------%
\newcommand*{\@MakeSignaturesPage}
{%
  \@Declaration
  \vspace{0.51\textheight}
  \noindent
  \textsc{Aprovada}: \@TheDate.
  \\[2\baselineskip]
  \begin{adjustwidth}{2mm}{2mm}
    \@SignaturesTable
  \end{adjustwidth}
  \@Place
}

\newcommand*{\MakeSignaturesPage}
{%
    \IfFileExists{./assinaturas.pdf}    {\includepdf{./assinaturas.pdf}}{%
    \IfFileExists{./assinaturas.pdf.pdf}{\includepdf{./assinaturas.pdf.pdf}}{%
      \@MakeSignaturesPage
    }}
}

% Acknowledgement and biography
%------------------------------------------------------------------------------%

\newcommand*{\CreateEnvironment}[4]
{
  \newenvironment{#1}
  {
    \chapter*{#2}
    \begin{adjustwidth}{#3}{#4}
    \vspace{-\baselineskip}
    \hspace{\parindent}
  }
  {
    \end{adjustwidth}
    \clearpage
  }
}

\iftoggle{@SHORT}
{
  \excludecomment{acknowledgement}
  \excludecomment{biography}
}
{
  \CreateEnvironment{acknowledgement}{Agradecimentos}{2cm}{1cm}
  \CreateEnvironment{biography}      {Biografia}     {2cm}{1cm}
}

% Dedication
%------------------------------------------------------------------------------%

\iftoggle{@SHORT}
{
  \excludecomment{dedication}
}
{
  \newenvironment{dedication}
  {
    \clearpage
    \null
    \vfill
    \begin{adjustwidth}{0.5\linewidth}{0pt}
  }
  {
    \end{adjustwidth}
    \vspace{3cm}
    \null
    \clearpage
  }
}

\newenvironment{Resumo}
{
  \chapter*{Resumo}
  \markboth{Resumo}{Resumo}
  \noindent\trivlist\item\ignorespaces
}
{
  \endtrivlist
}

\newenvironment{Abstract}
{
  \chapter*{Abstract}
  \markboth{Abstract}{Abstract}
  \begin{otherlanguage}{english}
  \noindent\trivlist\item\ignorespaces
}
{
  \endtrivlist
  \end{otherlanguage}
}

\newcommand*{\PalavrasChave}{\par\vspace{\baselineskip}\noindent Palavras-chave: }
\newcommand*{\Keywords}     {\par\vspace{\baselineskip}\noindent Keywords: }

%------------------------------------------------------------------------------%
%------------------------------------------------------------------------------%
%------------------------------------------------------------------------------%
%
%                End of University Dependent Contend
%
%------------------------------------------------------------------------------%
%------------------------------------------------------------------------------%
%------------------------------------------------------------------------------%

% Make Preamble
%------------------------------------------------------------------------------%
\AtBeginDocument
{%
  \pagestyle{empty}
  \assignpagestyle{\chapter}{empty}
  \MakeTitlePage
  \clearpage
  \iftoggle{@SHORT}{}
  {%
    \MakeDeclarationPage \clearpage
    \MakeIndexCardPage   \clearpage
    \MakeSignaturesPage  \clearpage
    \setcounter{page}{3}
  }
  \renewcommand*{\bibname}{Referências}
}

% Closes the preamble
%------------------------------------------------------------------------------%

\let\OriginalTableOfContents\tableofcontents

\renewcommand*{\tableofcontents}
{
  \clearpage
  \OriginalTableOfContents
  \@openrighttrue
  \clearpage
  \pagestyle{fancyplain}
  \assignpagestyle{\chapter}{plain}
  % Line spacing for the dissertation body
  \setstretch{1.5}
}

% Used only for the example text
%------------------------------------------------------------------------------%
%------------------------------------------------------------------------------%

% Code listings
%------------------------------------------------------------------------------%
\usepackage{courier}
\usepackage{listings}
\usepackage{color}

\definecolor{numbercolor}{rgb}{0,0.6,0}
\definecolor{commentcolor}{gray}{0.3}
\definecolor{stringcolor}{rgb}{0.58,0,0.82}
\definecolor{backcolor}{rgb}{1,1,1}
\definecolor{basiccolor}{rgb}{0,0,1}
\definecolor{keywordcolor}{rgb}{0.5,0,0.5}

\lstdefinestyle{LaTeXstyle}
{
  language=[LaTeX]TeX,
  backgroundcolor=\color{backcolor},
  basicstyle=\linespread{0.9}\ttfamily\footnotesize\color{basiccolor},
  commentstyle=\color{commentcolor},
  keywordstyle=\color{keywordcolor},
  numberstyle=\color{numbercolor},
  stringstyle=\color{stringcolor},
  breakatwhitespace=false,
  breaklines=true,
  captionpos=t,
  abovecaptionskip=-\baselineskip,
  belowcaptionskip=0pt,
  xleftmargin=0pt,
  xrightmargin=0pt,
  deletekeywords={...},
  escapeinside={(*}{*)},
  frame=none,
  keepspaces=true,
  numbers=none,
  numbersep=5pt,
  rulecolor=\color{black},
  showspaces=false,
  showstringspaces=false,
  showtabs=false,
  stepnumber=2,
  tabsize=2,
  title=\lstname,
  columns=fullflexible,
  alsoletter={\\,-},
  morekeywords={
    \\acute,
    \\addbibresource,
    \\aleph,
    \\alpha,
    \\amalg,
    \\angle,
    \\approx,
    \\arccos,
    \\arccot,
    \\arccsc,
    \\arcsec,
    \\arcsin,
    \\arctan,
    \\arg,
    \\autor,
    \\ast,
    \\asymp,
    \\author,
    \\autor,
    \\autora,
    \\backslash,
    \\bar,
    \\begin,
    \\beta,
    \\bf,
    \\bibitem,
    \\bibliography,
    \\bibliographystyle,
    \\bigcirc,
    \\bigtriangledown,
    \\bigtriangleup,
    \\banca,
    \\bot,
    \\bowtie,
    \\Box,
    \\breve,
    \\bullet,
    \\c,
    \\C,
    \\cap,
    \\caption,
    \\cdot,
    \\centering,
    \\chapter,
    \\check,
    \\chi,
    \\circ,
    \\cite,
    \\citeauthor,
    \\citeauthoronline,
    \\citeonline,
    \\citeyear,
    \\clubsuit,
    \\cong,
    \\coorientacao,
    \\cos,
    \\cosh,
    \\cot,
    \\coth,
    \\csc,
    \\cup,
    \\dagger,
    \\dashv,
    \\date,
    \\ddagger,
    \\ddot,
    \\deg,
    \\delta,
    \\Delta,
    \\det,
    \\diamond,
    \\Diamond,
    \\diamondsuit,
    \\dim,
    \\div,
    \\documentclass,
    \\dot,
    \\doteq,
    \\downarrow,
    \\Downarrow,
    \\ell,
    \\emph,
    \\emptyset,
    \\end,
    \\epsilon,
    \\eqref,
    \\equiv,
    \\eta,
    \\exists,
    \\exp,
    \\fake,
    \\fbox,
    \\flat,
    \\footnote,
    \\forall,
    \\frac,
    \\frown,
    \\gamma,
    \\Gamma,
    \\gcd,
    \\geq,
    \\gg,
    \\grave,
    \\hat,
    \\hbar,
    \\heartsuit,
    \\hom,
    \\hspace,
    \\Im,
    \\imath,
    \\in,
    \\includegraphics,
    \\includepdf,
    \\inf,
    \\infty,
    \\it,
    \\iota,
    \\item,
    \\Keywords,
    \\jmath,
    \\Join,
    \\kappa,
    \\ker,
    \\label,
    \\lambda,
    \\Lambda,
    \\langle,
    \\LaTeX,
    \\lceil,
    \\left,
    \\leq,
    \\lfloor,
    \\lg,
    \\lhd,
    \\linewidth,
    \\lim,
    \\liminf,
    \\limsup,
    \\listoffigures,
    \\listoftables,
    \\ll,
    \\ln,
    \\log,
    \\max,
    \\mho,
    \\mid,
    \\min,
    \\mathbb,
    \\models,
    \\mp,
    \\mu,
    \\N,
    \\nabla,
    \\natural,
    \\neg,
    \\neq,
    \\ni,
    \\nocite,
    \\nonumber,
    \\nu,
    \\odot,
    \\omega,
    \\Omega,
    \\ominus,
    \\oplus,
    \\orientador,
    \\orientadora,
    \\PalavrasChave,
    \\oslash,
    \\otimes,
    \\parallel,
    \\partial,
    \\perp,
    \\phi,
    \\Phi,
    \\pi,
    \\Pi,
    \\pm,
    \\Pr,
    \\prec,
    \\preceq,
    \\prime,
    \\propto,
    \\psi,
    \\Psi,
    \\Q,
    \\qquad,
    \\quad,
    \\R,
    \\rangle,
    \\rceil,
    \\Re,
    \\ref,
    \\rfloor,
    \\rhd,
    \\rho,
    \\right,
    \\Rightarrow,
    \\sec,
    \\section,
    \\setminus,
    \\sharp,
    \\sigma,
    \\Sigma,
    \\sim,
    \\simeq,
    \\sin,
    \\sinh,
    \\smile,
    \\spadesuit,
    \\sqcap,
    \\sqcup,
    \\sqsubset,
    \\sqsubseteq,
    \\sqsupset,
    \\sqsupseteq,
    \\star,
    \\subsection,
    \\subset,
    \\subseteq,
    \\subsubsection,
    \\succ,
    \\succeq,
    \\sum,
    \\sup,
    \\supset,
    \\supseteq,
    \\surd,
    \\tableofcontents,
    \\tan,
    \\tanh,
    \\tau,
    \\text,
    \\textasciicircum,
    \\textasciitilde,
    \\textbackslash,
    \\textbf,
    \\textit,
    \\textsc,
    \\thebibliography,
    \\textsuperscript,
    \\theta,
    \\Theta,
    \\tilde,
    \\times,
    \\title,
    \\titleEn,
    \\top,
    \\triangle,
    \\triangleleft,
    \\triangleright,
    \\underline,
    \\unlhd,
    \\unrhd,
    \\uparrow,
    \\Uparrow,
    \\updownarrow,
    \\Updownarrow,
    \\uplus,
    \\upsilon,
    \\Upsilon,
    \\usepackage,
    \\varepsilon,
    \\varphi,
    \\varphi,
    \\varrho,
    \\varsigma,
    \\vartheta,
    \\vdash,
    \\vec,
    \\vee,
    \\wedge,
    \\wp,
    \\wr,
    \\xi,
    \\Xi,
    \\Z,
    \\zeta,
    @Article,
    @Book,
    @Booklet,
    @Conference,
    @InBook,
    @InCollection,
    @InProceedings,
    @Manual,
    @MasterThesis,
    @Misc,
    @Online,
    @PhdThesis,
    @Proceedings,
    @Unpublished,
    Address,
    Author,
    BookTitle,
    Conference-Location,
    Conference-Number,
    Conference-Year,
    Edition,
    ISBN,
    Journal,
    Note,
    Number,
    Organization,
    Pages,
    Publisher,
    School,
    Series,
    Subtitle,
    Title,
    Type,
    Url,
    UrlAccessDate,
    Volume,
    Year,
    },
  extendedchars=true,
}

\lstset{style=LaTeXstyle}

\newcommand{\miktexversion}{2.9.6813}

% Bibligraphy using biblatex
%------------------------------------------------------------------------------%

\RequirePackage[num,abnt-url-package=hyperref]{abntex2cite}

\citebrackets[]

\def\UrlLeft{}
\def\UrlRight{}

\renewcommand{\authorstyle}{\hypersetup{citecolor=black}}
\renewcommand{\yearstyle}{\hypersetup{citecolor=black}}

%------------------------------------------------------------------------------%
\endinput
%------------------------------------------------------------------------------%

The first page, as this template compiles today. Click it to enlarge, and again to shrink. Open the file ↗