UERJ PPGEM Mechanical Engineering thesis and dissertation (v5.4)
The UERJ Graduate Program in Mechanical Engineering's LaTeX template, version 5.4, for final papers, master's dissertations and doctoral theses, abnTeX2-based, Portuguese edition.
- Category
- Thesis
- Document class
repUERJ(repUERJ.cls) — ships with TeX Live- Workflow
- Thesis / dissertation — submissions and revision rounds
- Author
- Rio de Janeiro State University, Graduate Program in Mechanical Engineering (PPGEM)
- Source
- Rio de Janeiro State University, Graduate Program in Mechanical Engineering (PPGEM)
- Licence
- No licence is stated in the files. Rio de Janeiro State University, Graduate Program in Mechanical Engineering (PPGEM) distributes them for authors preparing a submission.
These are the publisher’s own files. This project starts from Rio de Janeiro State University, Graduate Program in Mechanical Engineering (PPGEM)’s package for this publication — their manuscript, their repUERJ.cls, their bibliography style — so what compiles here is what they would have given you.
Rio de Janeiro State University, Graduate Program in Mechanical Engineering (PPGEM) serves this exact file to Rio de Janeiro State University. Check Rio de Janeiro State University, Graduate Program in Mechanical Engineering (PPGEM)’s author pages for the current instructions.
What you get
00-UERJ-MECAN-PPGEM-PT-BR.tex— the file that is compiled · 12 KBA.Bibliography/MyBibliography.bib· 10 KBB.PreTextual/01.Dedication.tex· 96 BB.PreTextual/02.Acknowledgment.tex· 382 BB.PreTextual/03.Epigraph.tex· 144 BB.PreTextual/04.Abstract_pt.tex· 2 KBB.PreTextual/05.Abstract_en.tex· 2 KBB.PreTextual/06.AbbreviationList.tex· 241 BB.PreTextual/07.SymbolList.tex· 261 BB.PreTextual/Ficha.pdf· 54 KBC.Chapters/01.Introduction.tex· 7 KBC.Chapters/02.Formulation.tex· 5 KBC.Chapters/90.Results.tex· 13 KBC.Chapters/99.Conclusion.tex· 2 KBD.PostTextual/01.Glossary.tex· 274 BD.PostTextual/02.Appendix-A.tex· 404 BD.PostTextual/02.Appendix-B.tex· 373 BD.PostTextual/03.Annex-A.tex· 2 KBD.PostTextual/03.Annex-B.tex· 369 BFigures/Plot1.pdf· 34 KBFigures/Plot2.pdf· 17 KBFigures/Plot3.pdf· 19 KBFigures/Plot4.pdf· 21 KBFigures/StreamLines.pdf· 85 KBFigures/logo_uerj_cinza.png· 224 KBFigures/logo_uerj_cor.jpg· 187 KBFigures/marcadagua_uerj_cinza.png· 20 KBabnt-options4.bib· 231 Babntex2-alf.bst· 59 KBabntex2-num.bst· 59 KBabntex2-options.bib· 5 KBabntex2.cls· 35 KBabntex2abrev.sty· 5 KBabntex2cite.sty· 40 KBlogo_uerj_cinza.png· 224 KBmarcadagua_uerj_cinza.png· 20 KBrepUERJ.cls· 28 KBrepUERJformat.sty· 26 KBrepUERJpseudocode.sty· 14 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
00-UERJ-MECAN-PPGEM-PT-BR.tex — the file that is compiled · 12 KB
\documentclass[a4paper,12pt,oneside,onecolumn,final,fleqn]{repUERJ}
% ---
% Pacotes fundamentais
% ---
\usepackage[english,brazil]{babel} % adequação para o português Brasil
\usepackage[utf8]{inputenc} % Determina a codificação utilizada
% (conversão automática dos acentos)
\usepackage{makeidx} % Cria o índice
\usepackage{hyperref} % Controla a formação do índice
\usepackage{indentfirst} % Endenta o primeiro paragrafo de
% cada seção.
\usepackage{graphicx} % Inclusão de gráficos
\usepackage{subfig}
\usepackage{amsmath} % pacote matemático
\usepackage{bm} % pacote de fontes matematicas
\usepackage{lscape} % pacote para colocar páginas em landscape
\usepackage{array}
% ---
% Pacote auxiliar para as normas da UERJ
% ---
\usepackage[frame=no,font=default]{repUERJformat}
\usepackage[line=yes]{repUERJpseudocode}
% ---
% Pacotes de citacoes
% ---
\usepackage[alf,abnt-repeated-author-omit=no]{abntex2cite}
\selectlanguage{brazil} % setando o idioma global para português
% ********************************************************************
% ********************************************************************
% Área Reservada para incluir os novos comandos
% ********************************************************************
% ********************************************************************
% Comandos de comentários
\definecolor{green}{rgb}{0.1, 0.4, 0.1}
\newcommand\red[1]{{\color{red}#1}}
\newcommand\sred[1]{{\color{red}\uline{#1}}}
\newcommand\blue[1]{{\color{blue}#1}}
\newcommand\sblue[1]{{\color{blue}\uline{#1}}}
\newcommand\green[1]{{\color{green}#1}}
\newcommand\sgreen[1]{{\color{green}\uline{#1}}}
\newcommand\orange[1]{{\color{orange}#1}}
\newcommand\sorange[1]{{\color{orange}\uline{#1}}}
%o comando \sout funciona para riscar o texto
% Abaixo tem-se alguns exemplos de definição de comandos
\newcommand\dd{\mathrm{d}} % d de derivada
\newcommand\DD{\mathrm{D}} % D de derivada
\newcommand\ee{\mathrm{e}} % número natural: e
\newcommand\ii{\mathrm{i}} % número complexo: i
\newcommand\Vol{\mathcal{V}} % Simbolo de volume
\newcommand\Vector[1]{\mbox{\boldmath$#1$}} % comando para colocar vetores
\newcommand\Tensor[1]{\mbox{\boldmath$\mathrm{#1}$}} % comando para colocar tensores/matrizes
%Alguns exemplos de definição de vetores, tensores e matrizes
\newcommand\vvec{\Vector{v}} % vetor
\newcommand\Tten{\Tensor{T}} % Tensor
\newcommand\Mmat{\Tensor{M}} % Matriz
% Alguns parâmetros adimensionais
\newcommand\Bi{\mathrm{Bi}} % Número de Biot
\newcommand\Rey{\mathrm{Re}} % Número de Reynolds
\newcommand\Ma{\mathrm{Ma}} % Número de Mach
\newcommand\Pe{\mathrm{Pe}} % Número de Péclet
\newcommand\Dh{D_H} % Diâmetro hidráulico
% Alguns índices máximos
\newcommand\nmax{n_{\text{max}}}
\newcommand\mmax{m_{\text{max}}}
\newcommand\imax{i_{\text{max}}}
\newcommand\jmax{j_{\text{max}}}
% ********************************************************************
% ********************************************************************
% Informações de autoria e institucionais
% ********************************************************************
% ********************************************************************
%---------------------------------------------------------------------
% Imagens pretextuais (precisam estar no mesmo diretório deste arquivo .tex)
%---------------------------------------------------------------------
\logo{logo_uerj_cinza.png}
\marcadagua{marcadagua_uerj_cinza.png}{1}{160}{255}
%---------------------------------------------------------------------
% Informações da instituição
%---------------------------------------------------------------------
\instituicao{Universidade do Estado do Rio de Janeiro} %Universidade
{Centro de Tecnologia e Ciências} %Centro
{Faculdade de Engenharia} %Unidade
{} %Departamento (DEIXAR EM BRANCO)
%---------------------------------------------------------------------
% Informações da autoria do documento
%---------------------------------------------------------------------
\autor{nome}
{sobrenome}
{iniciais. do. nome.} % iniciais do nome
\titulo{Título do trabalho acadêmico em português} %Título do trabalho acadêmico em português
\title{Your paper} %Título do trabalho acadêmico em inglês
\orientador{Prof.} %cargo, ex.: Prof., Profa., Eng. , etc...
{Daniel}{José Naihid Mansur Chalhub, DSc} %Nome sobrenome com a titulação ao final. Exemplo: D.Sc., Ph.D., M.Sc., B.Sc., etc.
{Universidade do Estado do Rio de Janeiro (UERJ) - PPG-EM} % Instituição e Departamento ou PPG
%Opcional, Comente as linhas de coorientador caso não tenha
\coorientador{cargo} %cargo, ex.: Prof., Profa., Eng. , etc...
{nome}{sobrenome, titulação} %Nome sobrenome com a titulação ao final. Exemplo: D.Sc., Ph.D., M.Sc., B.Sc., etc.
{unidade -- instituição} % Departamento ou PPG e Instituição
%---------------------------------------------------------------------
% Grau pretendido (Doutor, Mestre, Bacharel, Licenciado) e Curso
%---------------------------------------------------------------------
%Descomente as sua opções
%\newcommand\artigo{à}%Projeto de graduação
\newcommand\artigo{ao}%Pós Graduação
%\grau{Graduação}
\grau{Mestre}
%\grau{Doutor}
\curso{Engenharia Mecânica}
\newcommand\grauTitulo{Engenheiro Mecânico}
%\areadeconcentracao{} %Progeto de Graduação
\areadeconcentracao{Fenômenos de Transporte} %Pós Graduação
%\areadeconcentracao{Mecânica dos Sólidos} %Pós Graduação
%---------------------------------------------------------------------
% Informações adicionais (local, data e paginas)
%---------------------------------------------------------------------
\local{Rio de Janeiro}
\data{DD}{MMMMMM}{AAAA} % Exemplo: \data{21}{Março}{2016}
% ********************************************************************
% ********************************************************************
% Configurações de aparência do PDF final
% ********************************************************************
% ********************************************************************
% alterando o aspecto da cor azul
\definecolor{blue}{RGB}{41,5,195}
%\definecolor{apricot}{RGB}{251,206,177}
% informações do PDF
\hypersetup{
unicode=false,
pdftitle={\UERJtitulo},
pdfauthor={\UERJautor},
pdfsubject={\UERJpreambulo},
pdfkeywords={PALAVRAS}{CHAVES}{\chaveA}{\chaveB}{\chaveC}{\chaveD},
pdfproducer={\packagename}, % producer of the document
pdfcreator={\UERJautor},
colorlinks=true, % false: boxed links; true: colored links
linkcolor=black, % color of internal links blue
citecolor=black, % color of links to bibliography blue
filecolor=black, % color of file links magenta
urlcolor=black,
bookmarksdepth=4,
%backref=true,
%pagebackref=true,
%bookmarks=true,
}
% ********************************************************************
% ********************************************************************
% Início do documento
% ********************************************************************
% ********************************************************************
% ---
% compila o índice; se não for usar, comentar
% ---
\makeindex
% ********************************************************************
% ********************************************************************
\begin{document}
% ----------------------------------------------------------
%% ELEMENTOS PRE-TEXTUAIS
% ----------------------------------------------------------
\frontmatter
% ----------------------------------------------------------
% Capa e a folha de rosto
% ----------------------------------------------------------
\capa
\folhaderosto
% ----------------------------------------------------------
% Inserir a ficha catalográfica
% ----------------------------------------------------------
% ---
% A biblioteca deverá providenciar a ficha catalográfica. Salve a ficha no
% formato PDF. Use o nome do arquivo PDF como argumento do comando.
% Exemplo: ficha catalográfica é o arquivo 'Ficha.pdf' na pasta "B.PreTextual"
% \fichacatalografica{B.PreTextual/Ficha.pdf}
%
% Enquanto não possuir a ficha catalográfica, use o comando sem argumentos.
% ---
\fichacatalografica{B.PreTextual/Ficha.pdf}
% ----------------------------------------------------------
% Folha de aprovação
% ----------------------------------------------------------
%Após obter a assinatura dos membros da banca, comente as linhas a baixos e insira o pdf com as assinaturas na pasta "B.PreTextual"
% Ajustar o espaço entre as assinaturas abaixo
\newcommand{\spc}{0.25cm}
\begin{folhadeaprovacao}
\vspace{\spc} % Espaço entre assinaturas
\assinatura{Prof. Norberto Mangiavacchi, Ph.D.}{Universidade do Estado do Rio de Janeiro (UERJ) - PPG-EM} %Exemplo
\vspace{\spc} % Espaço entre assinaturas
\assinatura{Eng. João José, M.Sc.}{Instituição}
\vspace{\spc} % Espaço entre assinaturas
\assinatura{Eng. Marcos João, B.Sc.}{Instituição}
\vspace{\spc} % Espaço entre assinaturas
\assinatura{quarto membro titular da banca}{Instituição}
\end{folhadeaprovacao}
% Após colocar o pdf com as assinaturas na pasta "B.PreTextual", descomente a linha abaixo e insira o nome correto do arquivo pdf:
%\includepdf[pages=1]{B.PreTextual/assinaturas.pdf} %exemplo
% ----------------------------------------------------------
% Dedicatória
\include{B.PreTextual/01.Dedication}
% ----------------------------------------------------------
% Agradecimentos
\include{B.PreTextual/02.Acknowledgment}
% ----------------------------------------------------------
% Epigrafe (opcional)
\include{B.PreTextual/03.Epigraph}
% ----------------------------------------------------------
%% RESUMO
\include{B.PreTextual/04.Abstract_pt}
% ----------------------------------------------------------
% Abstract
\begin{otherlanguage}{english}
\include{B.PreTextual/05.Abstract_en}
\end{otherlanguage}
% ----------------------------------------------------------
% Listas de ilustrações e tabelas
% ----------------------------------------------------------
\listadefiguras
\listadetabelas
% ----------------------------------------------------------
% Outras listas
% ----------------------------------------------------------
%\listadealgoritmos
% ----------------------------------------------------------
% Lista de abreviaturas e siglas
\include{B.PreTextual/06.AbbreviationList}
% ----------------------------------------------------------
% Lista de simbolos
\include{B.PreTextual/07.SymbolList}
% ----------------------------------------------------------
% Sumario
\sumario
% ----------------------------------------------------------
%% ELEMENTOS TEXTUAIS
% ----------------------------------------------------------
\mainmatter
\include{C.Chapters/01.Introduction}
\include{C.Chapters/02.Formulation}
\include{C.Chapters/90.Results}
\include{C.Chapters/99.Conclusion}
% ----------------------------------------------------------
%% ELEMENTOS POS-TEXTUAIS
% ----------------------------------------------------------
\backmatter
%=====================================================================
% Referencias via BibTeX
%=====================================================================
\citeoption{abnt-options4}
\bibliography{A.Bibliography/MyBibliography}
%=====================================================================
%=====================================================================
%% Glossário
%=====================================================================
\include{D.PostTextual/01.Glossary}
% ----------------------------------------------------------
% Apêndices (opcionais)
% ----------------------------------------------------------
% ---
% Inicia os apêndices
% ---
\appendix
\include{D.PostTextual/02.Appendix-A}
\include{D.PostTextual/02.Appendix-B}
% ----------------------------------------------------------
% Anexos (opcionais)
% ----------------------------------------------------------
% ---
% Inicia os anexos
% ---
\annex
\include{D.PostTextual/03.Annex-A}
\include{D.PostTextual/03.Annex-B}
%---------------------------------------------------------------------
%% INDICE REMISSIVO (relativo ao makeindex)
%---------------------------------------------------------------------
\printindex
%=====================================================================
\end{document}
A.Bibliography/MyBibliography.bib · 10 KB
% This file was created with JabRef 2.10.
% Encoding: UTF8
@Article{Chorin:1968,
Title = {Numerical solution of the {Navier}-{Stokes} equations},
Author = {Chorin, A. J.},
Journal = {Mathematics of {Computation}},
Year = {1968},
Pages = {745--762},
Volume = {22},
File = {1968, Chorin, Numerical Solution of the Navier Stokes Equations.pdf:C\:\\Users\\Daniel\\AppData\\Roaming\\Zotero\\Zotero\\Profiles\\r2e7pia0.default\\zotero\\storage\\6WWCAGFJ\\1968, Chorin, Numerical Solution of the Navier Stokes Equations.pdf:application/pdf},
Owner = {Daniel},
Timestamp = {2015.07.21}
}
@Article{Guermond:2006,
Title = {An overview of projection methods for incompressible flows},
Author = {Guermond, J. L. and Minev, P. and Shen, Jie},
Journal = {Comput. {Methods} {Appl}. {Mech}. {Engrg}.},
Year = {2006},
Pages = {6011--6045},
Volume = {195},
File = {2006, Guermond, An overview of projection methods for incompressible flows (1).pdf:C\:\\Users\\Daniel\\AppData\\Roaming\\Zotero\\Zotero\\Profiles\\r2e7pia0.default\\zotero\\storage\\HA575KMN\\2006, Guermond, An overview of projection methods for incompressible flows (1).pdf:application/pdf},
Keywords = {Finite elements,Fractional step methods,Incompressibility,Navier-Stokes equations,Projection methods,Spectral approximations},
Owner = {Daniel},
Timestamp = {2015.07.21}
}
@Article{Guermond:2003,
Title = {Velocity-correction projection methods for incompressible flows},
Author = {Guermond, J. L. and Shen, J.},
Journal = {{SIAM} {Journal} on {Numerical} {Analysis}},
Year = {2003},
Number = {1},
Pages = {112--134},
Volume = {41},
File = {2003, Guermond&Shen, Velocity-Correction Projection Methods for Incompressible Flows.pdf:C\:\\Users\\Daniel\\AppData\\Roaming\\Zotero\\Zotero\\Profiles\\r2e7pia0.default\\zotero\\storage\\FXFM2T4C\\2003, Guermond&Shen, Velocity-Correction Projection Methods for Incompressible Flows.pdf:application/pdf},
Keywords = {35j05,35q30,65m12,76d05,ams subject classifications,Finite elements,fractional-step methods,incom-,navier,pii,pressibility,Projection methods,s0036142901395400,Spectral approximations,stokes equations},
Owner = {Daniel},
Timestamp = {2015.07.21},
Url = {http://epubs.siam.org/doi/abs/10.1137/S0036142901395400}
}
@Article{cotta:1996,
Title = {Benchmark integral transform results for flow over a backward-facing step},
Author = {J.S.Perez Guerrero and R.M. Cotta},
Journal = {Computers \& Fluids},
Year = {1996},
Number = {5},
Pages = {527–540},
Volume = {25},
Doi = {10.1016/0045-7930(96)00005-9},
Owner = {dchal_000},
Timestamp = {2015.10.01},
Url = {http://www.sciencedirect.com/science/article/pii/0045793096000059}
}
@Article{Karniadakis:1991,
Title = {High-order splitting methods for the incompressible Navier-Stokes equations},
Author = {Karniadakis, George Em and Israeli, Moshe and Orszag, Steven A},
Journal = {Journal of Computational Physics},
Year = {1991},
Month = dec,
Number = {2},
Pages = {414--443},
Volume = {97},
Abstract = {A new pressure formulation for splitting methods is developed that results in high-order time-accurate schemes for the solution of the incompressible Navier-Stokes equations. In particular, improved pressure boundary conditions of high order in time are introduced that minimize the effect of erroneous numerical boundary layers induced by splitting methods. A new family of stiffly stable schemes is employed in mixed explicit/implicit time-intgration rules. These schemes exhibit much broader stability regions as compared to Adams-family schemes, typically used in splitting methods. Their stability properties remain almost constant as the accuracy of the integration increases, so that robust third- or higher-order time-accurate schemes can readily be constructed that remain stable at relatively large CFL number. The new schemes are implemented within the framework of spectral element discretizations in space so that flexibility and accuracy is guaranteed in the numerical experimentation. A model Stokes problem is studied in detail, and several examples of Navier-Stokes solutions of flows in complex geometries are reported. Comparison is made with the previously used first-order in time spectral element splitting and non-splitting (e.g., Uzawa) schemes. High-order splitting/spectral element methods combine accuracy in space and time, and flexibility in geometry, and thus can be very efficient in direct simulations of turbulent flows in complex geometries.},
Doi = {10.1016/0021-9991(91)90007-8},
File = {ScienceDirect Snapshot:C\:\\Users\\Daniel\\AppData\\Roaming\\Zotero\\Zotero\\Profiles\\r2e7pia0.default\\zotero\\storage\\V992I8I3\\0021999191900078.html:text/html},
ISSN = {0021-9991},
Owner = {Daniel},
Timestamp = {2015-03-04 15:24:41},
Url = {http://www.sciencedirect.com/science/article/pii/0021999191900078},
Urldate = {2015-03-04}
}
@Article{Munz:2003,
Title = {The extension of incompressible flow solvers to the weakly compressible regime},
Author = {Munz, C. D. and Roller, S. and Klein, R. and Geratz, K. J.},
Journal = {Computers \& {Fluids}},
Year = {2003},
Month = feb,
Number = {2},
Pages = {173--196},
Volume = {32},
Abstract = {Numerical simulation schemes for incompressible flows such as the Simple scheme are extended to weakly compressible fluid flow. A single time scale, multiple space scale asymptotic analysis is used to gain insight into the limit behavior of the compressible flow equations as the Mach number vanishes. Motivated by these results, multiple pressure variables (MPV) are introduced into the numerical framework. These account separately for thermodynamic effects, acoustic wave propagation and the balance of forces. Discretized analogues of the averaging and large scale differencing procedures known from multiple scales asymptotics allow accurate capturing of various physical phenomena that are operative on very different length scales. The MPV approach combines the explicit numerical computation of global compression from the boundary and the long wavelength acoustics on coarse grids with an implicit pressure or pressure correction equation that formally converges to the corresponding incompressible one when the Mach number tends to zero.},
Doi = {10.1016/S0045-7930(02)00010-5},
File = {2003, Munz et al, The extension of incompressible flow solvers to the weakly compressible regime.pdf:C\:\\Users\\Daniel\\AppData\\Roaming\\Zotero\\Zotero\\Profiles\\r2e7pia0.default\\zotero\\storage\\4I9IJVN5\\2003, Munz et al, The extension of incompressible flow solvers to the weakly compressible regime.pdf:application/pdf},
ISSN = {00457930},
Owner = {Daniel},
Timestamp = {2015.07.21},
Url = {http://www.sciencedirect.com/science/article/pii/S0045793002000105}
}
@Article{Thomadakis:1996,
Title = {A Pressure-Correction Method for the Solution of Incompressible Viscous Flows on Unstructured Grids},
Author = {Thomadakis, Michael and Leschziner, Michael},
Journal = {International Journal for Numerical Methods in Fluids},
Year = {1996},
Month = apr,
Number = {7},
Pages = {581--601},
Volume = {22},
Abstract = {An unstructured grid, finite volume method is presented for the solution of two-dimensional viscous, incompressible flow. The method is based on the pressure-correction concept implemented on a semi-staggered grid. The computational procedure can handle cells of arbitrary shape, although solutions presented herein have been obtained only with meshes of triangular and quadrilateral cells. The discretization of the momentum equations is effected on dual cells surrounding the vertices of primary cells, while the pressure-correction equation applies to the primary-cell centroids and represents the conservation of mass across the primary cells. A special interpolation scheme s used to suppress pressure and velocity oscillations in cases where the semi-staggered arrangement does not ensure a sufficiently strong coupling between pressure and velocity to avoid such oscillations. Computational results presented for several viscous flows are shown to be in good agreement with analytical and experimental data reported in the open literature.},
Copyright = {Copyright {\textcopyright} 1996 John Wiley \& Sons, Ltd.},
Doi = {10.1002/(SICI)1097-0363(19960415)22:7<581::AID-FLD365>3.0.CO;2-R},
File = {Snapshot:C\:\\Users\\Daniel\\AppData\\Roaming\\Zotero\\Zotero\\Profiles\\r2e7pia0.default\\zotero\\storage\\CF3NBAEQ\\abstract.html:text/html},
ISSN = {1097-0363},
Keywords = {incompressible viscous flow,pressure-correction method,unstructured grids},
Language = {en},
Owner = {Daniel},
Timestamp = {2015-03-04 15:22:58},
Url = {http://onlinelibrary.wiley.com/doi/10.1002/(SICI)1097-0363(19960415)22:7<581::AID-FLD365>3.0.CO;2-R/abstract},
Urldate = {2015-03-04}
}
B.PreTextual/01.Dedication.tex · 96 B
\pretextualchapter{Dedicatória}
\vfill
Eu dedico essa tese para uma pessoa muito especial.
B.PreTextual/02.Acknowledgment.tex · 382 B
\pretextualchapter{Agradecimentos}
Texto de agradecimento texto de agradecimento texto de agradecimento texto de agradecimento texto de agradecimento texto de agradecimento texto de agradecimento texto de agradecimento texto de agradecimento texto de agradecimento texto de agradecimento texto de agradecimento texto de agradecimento texto de agradecimento texto de agradecimento.
B.PreTextual/03.Epigraph.tex · 144 B
\pretextualchapter{}
\vfill
\begin{flushright}
Feliz, feliz, feliz... Estou tão feliz\\
\textit{Uma criança feliz}
\end{flushright}
B.PreTextual/04.Abstract_pt.tex · 2 KB
% se não for usar a quarta palavra chave, deixar o campo vazio: {}
\palavraschaves{primeira palavra chave}
{segunda palavra chave}
{terceira palavra chave}
{quarta palavra chave (se houver)}
\pretextualchapter{Resumo}
\referencia % linha em branco depois
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?
xxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxx teste de hiphenização: monumental bla bla bla\\
\imprimirchaves % linha em branco antes
B.PreTextual/05.Abstract_en.tex · 2 KB
\keywords{first keyword}
{second keyword}
{third keyword}
{fourth keyword (if any)}
\pretextualchapter{Abstract}
\reference % linha em branco depois
% O resumo em inglês deve ser organizado em apenas um parágrafo mesmo.
Happiness deserves a English description. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?
xxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxx Hyphenation test: monumental bla bla bla \\
\printkeys % linha em branco antes
B.PreTextual/06.AbbreviationList.tex · 241 B
\pretextualchapter{Lista de abreviaturas e siglas}
% ---
\abreviatura{CITT}{Técnica da Transformada integral Clássica}
\abreviatura{GITT}{Técnica da Transformada integral Generalizada}
\abreviatura{MVF}{Método de Volumes Finitos}
B.PreTextual/07.SymbolList.tex · 261 B
\pretextualchapter{Lista de símbolos}
% ---
\simbolo{t}{Tempo}
\simbolo{L}{Dimensão na direção $x$}
\simbolo{H}{Dimensão na direção $y$}
\simbolo{\rho}{Massa específica}
\simbolo{\mu}{Viscosidade dinâmica}
\simbolo{\nu}{Viscosidade cinemática}
B.PreTextual/Ficha.pdf — binary, 54 KB
C.Chapters/01.Introduction.tex · 7 KB
%=====================================================================
% Na introdução deve-se utilizar \chapter* e \section*
\chapter*{Introdução}
%=====================================================================
Veja abaixo algumas dicas de utilização deste template:
--------------------------------------------------
\red{Neste modelo, deve-se usar os comandos $\backslash$cite para citar o trabalho e $\backslash$citeonline para citar o autor!!! \textbf{Não utilize} $\backslash$citet ou $\backslash$citep. Veja abaixo alguns exemplos:}
Citando o autor:
Existem diversos trabalhos sobre escoamentos incompressíveis, dentre eles, podemos citar o trabalho de \citeonline{Munz:2003}, que desenvolveu....
Citando o trabalho:
A equação de compatibilidade deve ser verificada para a formulação matematicamente razoável \cite{Guermond:2003}.
--------------------------------------------------
Esse template já veio preparado para a utilização de comentários coloridos. Isso facilita bastante a revisão do texto junto com seus orientadores. Veja abaixo alguns exemplos de utilização:
\red{Texto em vermelho.}
\sred{Texto em vermelho sublinhado.}
\blue{Texto em azul.}
\sblue{Texto em azul sublinhado.}
\green{Texto em verde.}
\sgreen{Texto em verde sublinhado.}
\orange{Texto em laranja.}
\sorange{Texto em laranja sublinhado.}
\sout{Texto cortado}
--------------------------------------------------
Figuras e tabelas:
Figuras e tabelas, de acordo com a norma ABNT, devem sempre ficar na parte superior da página. Esse template impõe isso automaticamente.
--------------------------------------------------
Verifique a hiphenização da palavra monumental abaixo: Para texto em português deve ser mo-numental. Para texto em inglês deve ser mon-umental
xxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxx teste de hiphenização: monumental bla bla bla
\section*{Objetivo}
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
\section*{Justificativa}
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
\section*{Revisão Bibliográfica}
Neste parágrafo, temos mais exemplos de citações. Os trabalhos \cite{Guermond:2006,Guermond:2003} explicam o método da projeção. O trabalho de \citeonline{Chorin:1968} é muito bom. Os trabalhos \cite{Munz:2003,Thomadakis:1996} também são muito bons. O trabalho \cite{cotta:1996} fala sobre...
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
Something is being unveiled. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem.
Author recalls that happiness is better than sadness. On the other hand, points out that sadness can be overcame by happiness. Therefore, both authors have concluded that happiness is something really powerful.
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
\section*{Organização da Dissertação/Tese}
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
C.Chapters/02.Formulation.tex · 5 KB
\chapter{Formulação Matemática}
\section{Fundamentação}
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
\section{Metodologia}
As equações \eqref{eq:taylor-v1}, \eqref{eq:taylor-v2} e \eqref{eq:taylor-v2}.....
lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
%
\begin{subequations}
\begin{gather}
v_r(t) = 0 \label{eq:taylor-v1} \\
v_{\theta}(t) = \varpi r \exp \left( - \dfrac{r^2}{4r_cRe^{-1}}t \right) \label{eq:taylor-v2} \\
v_z(t) = 0 \label{eq:taylor-v3}
\end{gather}
\end{subequations}
As equações \eqref{eq:taylor-vx}, \eqref{eq:taylor-vy} e \eqref{eq:taylor-vz}...
lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
%
\begin{subequations}
\begin{gather}
v_x(t) = U_{ref} - v_{\theta}(t)\sin(\theta) \label{eq:taylor-vx} \\
v_y(t) = v_{\theta}(t)\cos(\theta) \label{eq:taylor-vy} \\
v_z(t) = 0 \label{eq:taylor-vz}
\end{gather}
\end{subequations}
De acordo com a \ref{tbl:taylor-vortex-parameters} pode-se concluir...
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
%
\begin{table}[h]{6cm}
\caption{Parâmetros Físicos}
\label{tbl:taylor-vortex-parameters}
\begin{tabular}{ll}
\hline
Parameter & Value \\
\hline
$ r_c $ & $ L_{ref}/30 $ \\
$ U_{ref} $ & $ 1 $ \\
$ \varpi $ & $ 1 $ \\
$ Re $ & $ 35 $ \\
$ Sc $ & $ 650 $ \\
$ \Delta t $ & $ 0.1 $ \\
\hline
\end{tabular}
%\legend{Texto da legenda. (Opcional)}
\source{Citação da fonte ou `O autor'. (opcional)}
\end{table}
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
%
\begin{equation}
{\phi}|_{\Gamma_L} = {\phi}|_{\Gamma_R}
\end{equation}
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
C.Chapters/90.Results.tex · 13 KB
\chapter{Resultados}
Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem.
Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem.
Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem.
Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem.
Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem.
Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem.
A figura \ref{fig:LinhasDeCorrente} mostra as linhas de corrente...
\begin{figure}[!h]{0.5\textwidth}
\caption{Linhas de corrente} \label{fig:LinhasDeCorrente}
\includegraphics[width=\hsize]{Figures/StreamLines.pdf}
%\legend{Texto da legenda. (opcional)}
\source{Citação da fonte ou `O autor' (opcional)}
\end{figure}
Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem.
Texto da primeira seção. A Figura \ref{rotulo} é o logo da UERJ.
\begin{figure}[!h]{5cm}
\caption{Legenda da figura.} \label{rotulo}
\includegraphics[width=\hsize]{Figures/logo_uerj_cor.jpg}
%\legend{Texto da legenda. (opcional)}
\source{Citação da fonte ou `O autor'. (opcional)}
\end{figure}
Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem.
Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem.
Texto da primeira subseção. Figura \ref{outro.rotulo}\subref{subrotulo2}.
\begin{figure}[!h]{8cm}
\centering
\caption{Curvas de Nusselt} \label{outro.rotulo}
\subfloat[][Legenda a...]{\label{subrotulo1}
\fbox{\includegraphics[width=0.45\hsize]{Figures/logo_uerj_cinza.png}}}
\subfloat[][Legenda b...]{\label{subrotulo2}
\fbox{\includegraphics[width=0.45\hsize]{Figures/marcadagua_uerj_cinza.png}}}\\
\subfloat[][Legenda c...]{\label{subrotulo3}
\fbox{\includegraphics[width=0.45\hsize]{Figures/logo_uerj_cor.jpg}}}
\subfloat[][Legenda d...]{\label{subrotulo4}
\fbox{\includegraphics[width=0.45\hsize]{Figures/logo_uerj_cinza.png}}}
%\legend{Texto da legenda (opcional)}
\source{Citação da fonte ou `O autor'. (opcional)}
\end{figure}
Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem.
Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem.
Texto da primeira subsubseção. Tabela \ref{mais.rotulo}.
\begin{table}[!h]{6cm}
\caption{Título da tabela.}\label{mais.rotulo}
\centering
\renewcommand\arraystretch{1.0}
\begin{tabular}{l|l}
\hline
X & Y\\
\hline
1,20 & 15,7\\
1,23 & 15,6\\
1,19 & 15,3\\
1,26 & 15,1\\
1,22 & 15,5\\
1,16 & 15,3\\
1,37 & 15,7\\
\hline
\end{tabular}
%\legend{Texto da legenda. (opcional)}
\source{Citação da fonte ou `O autor'. (opcional)}
\end{table}
Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem.
Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem.
\begin{table}[h!]{16cm}
\caption{Legenda da tabela... \label{tab1}}
\centering
%\scriptsize\vspace{-0.5em}
\renewcommand\arraystretch{1.0}
\begin{tabular}{|c | c|c|c|c|c|c|c|}
\hline
$\xi$ & $\Pe=1$ & $\Pe=2$ & $\Pe=5$ & $\Pe=10$ & $\Pe=20$ & $\Pe=50$ & $\Pe=10^6$ \\
\hline
0.01 & 5.22296 & 5.20378 & 5.76517 & 6.51798 & 7.14765 & 7.25370 & 5.97331 \\
0.02 & 5.22312 & 5.17788 & 5.55262 & 5.94688 & 6.07004 & 5.68785 & 5.01764 \\
0.03 & 5.22859 & 5.15789 & 5.39565 & 5.56665 & 5.44551 & 5.00668 & 4.63233 \\
0.04 & 5.23425 & 5.14160 & 5.26962 & 5.28439 & 5.04655 & 4.65836 & 4.43743 \\
0.05 & 5.24000 & 5.12761 & 5.16310 & 5.06644 & 4.78235 & 4.46566 & 4.33066 \\
0.1 & 5.26629 & 5.06903 & 4.79158 & 4.50409 & 4.29634 & 4.21132 & 4.19648 \\
0.2 & 5.28890 & 4.94549 & 4.46973 & 4.26465 & 4.20200 & 4.18899 & 4.18681 \\
0.3 & 5.27099 & 4.83267 & 4.37396 & 4.23631 & 4.19915 & 4.18883 & 4.18676 \\
0.4 & 5.22959 & 4.75309 & 4.34476 & 4.23275 & 4.19907 & 4.18883 & 4.18676 \\
0.5 & 5.18075 & 4.70280 & 4.33558 & 4.23229 & 4.19907 & 4.18883 & 4.18676 \\
1 & 5.01217 & 4.63313 & 4.33127 & 4.23223 & 4.19907 & 4.18883 & 4.18676 \\
2 & 4.94867 & 4.62757 & 4.33126 & 4.23223 & 4.19907 & 4.18883 & 4.18676 \\
5 & 4.94445 & 4.62753 & 4.33126 & 4.23223 & 4.19907 & 4.18883 & 4.18676 \\
10 & 4.94445 & 4.62753 & 4.33126 & 4.23223 & 4.19907 & 4.18883 & 4.18676 \\
20 & 4.94445 & 4.62753 & 4.33126 & 4.23223 & 4.19907 & 4.18883 & 4.18676 \\
50 & 4.94445 & 4.62753 & 4.33126 & 4.23223 & 4.19907 & 4.18883 & 4.18676 \\
100 & 4.94445 & 4.62753 & 4.33126 & 4.23223 & 4.19907 & 4.18883 & 4.18676 \\
\hline
\end{tabular}
\end{table}
Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem.
Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem.
\begin{landscape}
\begin{figure}[!h]{20cm}
\centering
\caption{Exemplo de Página em landscape} \label{outro.rotulo2}
%\hspace*{-6cm}
\subfloat[][Legenda a...]{\label{subrotulo5}
\fbox{\includegraphics[width=0.5\hsize]{Figures/Plot2.pdf}}}
\subfloat[][Legenda b...]{\label{subrotulo6}
\fbox{\includegraphics[width=0.5\hsize]{Figures/Plot3.pdf}}}
\\ %\hspace*{-6cm}
\subfloat[][Legenda c...]{\label{subrotulo7}
\fbox{\includegraphics[width=0.5\hsize]{Figures/Plot4.pdf}}}
\subfloat[][Legenda d...]{\label{subrotulo8}
\fbox{\includegraphics[width=0.5\hsize]{Figures/Plot1.pdf}}}
%\legend{Texto da legenda (opcional)}
\source{Citação da fonte ou `O autor'. (opcional)}
\end{figure}
\end{landscape}
C.Chapters/99.Conclusion.tex · 2 KB
%=====================================================================
\chapter*{Conclusão}
%=====================================================================
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
D.PostTextual/01.Glossary.tex · 274 B
%=====================================================================
\postextualchapter*{Glossário}
%=====================================================================
\definicao{termo 1}{significado}
\definicao{termo 2}{significado}
\definicao{termo 3}{significado}D.PostTextual/02.Appendix-A.tex · 404 B
%=====================================================================
\postextualchapter{Primeiro apêndice}
%=====================================================================
\section{Primeira seção}
Texto da primeira seção\index{Introdução!Capítulo}.
\subsection{Primeira subseção}
Texto da primeira subseção.
\subsubsection{Primeira subsubseção}
Texto da primeira subsubseção.D.PostTextual/02.Appendix-B.tex · 373 B
%=====================================================================
\postextualchapter{Segundo apêndice}
%=====================================================================
\section{Primeira seção}
Texto da primeira seção.
\subsection{Primeira subseção}
Texto da primeira subseção.
\subsubsection{Primeira subsubseção}
Texto da primeira subsubseção.D.PostTextual/03.Annex-A.tex · 2 KB
%=====================================================================
\postextualchapter{Primeiro anexo}
%=====================================================================
Modelo de trabalho acadêmico utilizando classe repUERJ para elaboração de teses, dissertação e monografias em geral (projetos finais e trabalhos de conclusão de curso).
Este modelo foi criado por Dr. Luís Fernando de Oliveira, Professor Adjunto do Departamento de Física Aplicada e Termodinâmica, Instituto de Física Armando Dias Tavares da Universidade do Estado do Rio de Janeiro -- UERJ
A classe repUERJ.cls foi criada a partir do código original disponibilizado pelo grupo CódigoLivre.Org (equipe coordenada por Gerald Weber). Foram feitas adequações para implementação das normas de elaboração de teses e dissertações da UERJ.
Os estilos repUERJformat.sty codificam os elementos pré-textuais e pós-textuais.
O estilo repUERJpseudocode.sty codifica a elaboração de algoritmos utilizando um glossário desenvolvido por mim (Luís Fernando), o mesmo usado em meu curso de Física Computacional.
Este arquivo está editado na codificação de caracteres UTF-8.
As referencia estão baseadas no modelo bibtex e citação em autor-data.
Todo este material está disponível também no meu site \url{http://sites.google.com/site/deoliveiralf}.
As normas da UERJ para elaboração de teses e dissertações pode ser obtidas no documento disponível no site \url{http://www.bdtd.uerj.br/roteiro_uerj_web.pdf}.
Agradecimentos ao NPROTEC/Rede Sirius/UERJ e à Biblioteca Setorial da Física.
D.PostTextual/03.Annex-B.tex · 369 B
%=====================================================================
\postextualchapter{Segundo anexo}
%=====================================================================
\section{Primeira seção}
Texto da primeira seção.
\subsection{Primeira subseção}
Texto da primeira subseção.
\subsubsection{Primeira subsubseção}
Texto da primeira subsubseção.Figures/Plot1.pdf — binary, 34 KB
Figures/Plot2.pdf — binary, 17 KB
Figures/Plot3.pdf — binary, 19 KB
Figures/Plot4.pdf — binary, 21 KB
Figures/StreamLines.pdf — binary, 85 KB
Figures/logo_uerj_cinza.png — binary, 224 KB
Figures/logo_uerj_cor.jpg — binary, 187 KB
Figures/marcadagua_uerj_cinza.png — binary, 20 KB
abnt-options4.bib · 231 B
@abnt-options{abnt-options4,
abnt-thesis-year = {final},
abnt-full-initials = {no},
abnt-year-extra-label = {yes},
abnt-repeated-title-omit = {yes},
abnt-repeated-author-omit = {yes},
abnt-etal-list =5,
key = {a}
}
abntex2-alf.bst · 59 KB
59 KB — too long to show here. It arrives with the project.
abntex2-num.bst · 59 KB
59 KB — too long to show here. It arrives with the project.
abntex2-options.bib · 5 KB
@comment{ "$Header: /home/cvsroot/abntex/texmf/bibtex/bib/abntex/abnt-options.bib,v 1.18 2003/07/22 16:41:27 gweber Exp $"}
@ABNT-options{abnt-and-type=e,
abnt-and-type="e",
key="aaaa"}
@ABNT-options{abnt-and-type=&,
abnt-and-type="&",
key="aaaa"}
@ABNT-options{abnt-cite-style=AUTHORYEAR,
abnt-cite-style="(AUTHOR, YEAR)",
key="aaaa"}
@ABNT-options{abnt-cite-style=AuthorYEAR,
abnt-cite-style="(Author, YEAR)",
key="aaaa"}
@ABNT-options{abnt-doi=expand,
abnt-doi="expand",
key="aaaa"}
@ABNT-options{abnt-doi=link,
abnt-doi="link",
key="aaaa"}
@ABNT-options{abnt-doi=doi,
abnt-doi="doi",
key="aaaa"}
@ABNT-options{abnt-dont-use-etal=yes,
abnt-etal-list=0,
key="aaaa"}
@ABNT-options{abnt-dont-use-etal=no,
abnt-etal-list=3,
key="aaaa"}
@ABNT-options{abnt-emphasize=bf,
abnt-emphasize="\textbf",
key="aaaa"}
@ABNT-options{abnt-emphasize=em,
abnt-emphasize="\emph",
key="aaaa"}
@ABNT-options{abnt-etal-cite=0,
abnt-etal-cite=0,
key="aaaa"}
@ABNT-options{abnt-etal-cite=1,
abnt-etal-cite=1,
key="aaaa"}
@ABNT-options{abnt-etal-cite=2,
abnt-etal-cite=2,
key="aaaa"}
@ABNT-options{abnt-etal-cite=3,
abnt-etal-cite=3,
key="aaaa"}
@ABNT-options{abnt-etal-cite=4,
abnt-etal-cite=4,
key="aaaa"}
@ABNT-options{abnt-etal-cite=5,
abnt-etal-cite=5,
key="aaaa"}
@ABNT-options{abnt-etal-list=0,
abnt-etal-list=0,
key="aaaa"}
@ABNT-options{abnt-etal-list=1,
abnt-etal-list=1,
key="aaaa"}
@ABNT-options{abnt-etal-list=2,
abnt-etal-list=2,
key="aaaa"}
@ABNT-options{abnt-etal-list=3,
abnt-etal-list=3,
key="aaaa"}
@ABNT-options{abnt-etal-list=4,
abnt-etal-list=4,
key="aaaa"}
@ABNT-options{abnt-etal-list=5,
abnt-etal-list=5,
key="aaaa"}
@ABNT-options{abnt-etal-text=none,
abnt-etal-text="",
key="aaaa"}
@ABNT-options{abnt-etal-text=default,
abnt-etal-text="et al.",
key="aaaa"}
@ABNT-options{abnt-etal-text=emph,
abnt-etal-text="\emph{et al.}",
key="aaaa"}
@ABNT-options{abnt-etal-text=it,
abnt-etal-text="\textit{et al.}",
key="aaaa"}
@ABNT-options{abnt-experimental=yes,
abnt-experimental="yes",
key="aaaa"}
@ABNT-options{abnt-experimental=no,
abnt-experimental="no",
key="aaaa"}
@ABNT-options{abnt-full-initials=no,
abnt-full-initials="no",
key="aaaa"}
@ABNT-options{abnt-full-initials=yes,
abnt-full-initials="yes",
key="aaaa"}
@ABNT-options{abnt-last-names=abnt,
abnt-last-names="abnt",
key="aaaa"}
@ABNT-options{abnt-last-names=bibtex,
abnt-last-names="bibtex",
key="aaaa"}
@ABNT-options{abnt-ldots-type=normal,
abnt-ldots-type="normal",
key="aaaa"}
@ABNT-options{abnt-ldots-type=none,
abnt-ldots-type="none",
key="aaaa"}
@ABNT-options{abnt-ldots-type=math,
abnt-ldots-type="math",
key="aaaa"}
@ABNT-options{abnt-ldots-type=text,
abnt-ldots-type="text",
key="aaaa"}
@ABNT-options{abnt-missing-year=void,
abnt-missing-year="void",
key="aaaa"}
@ABNT-options{abnt-missing-year=sd,
abnt-missing-year="sd",
key="aaaa"}
@ABNT-options{abnt-nbr6023=2002,
key="aaaa"}
@ABNT-options{abnt-nbr6023=2000,
key="aaaa"}
@ABNT-options{abnt-nbr10520=2002,
abnt-cite-style="(AUTHOR, YEAR)",
abnt-and-type="e",
key="aaaa"}
@ABNT-options{abnt-nbr10520=2001,
abnt-cite-style="(AUTHOR, YEAR)",
abnt-and-type="e",
key="aaaa"}
@ABNT-options{abnt-nbr10520=1988,
abnt-cite-style="(Author, YEAR)",
abnt-and-type="&",
key="aaaa"}
@ABNT-options{abnt-no-etal-label=yes,
abnt-etal-text="et al.",
key="aaaa"}
@ABNT-options{abnt-no-etal-label=no,
abnt-etal-text="",
key="aaaa"}
@ABNT-options{abnt-refinfo=yes,
abnt-refinfo="yes",
key="aaaa"}
@ABNT-options{abnt-refinfo=no,
abnt-refinfo="no",
key="aaaa"}
@ABNT-options{abnt-repeated-author-omit=no,
abnt-repeated-author-omit="no",
abnt-repeated-title-omit="no",
key="aaaa"}
@ABNT-options{abnt-repeated-author-omit=yes,
abnt-repeated-author-omit="yes",
key="aaaa"}
@ABNT-options{abnt-repeated-title-omit=no,
abnt-repeated-title-omit="no",
key="aaaa"}
@ABNT-options{abnt-repeated-title-omit=yes,
abnt-repeated-author-omit="yes",
abnt-repeated-title-omit="yes",
key="aaaa"}
@ABNT-options{abnt-show-options=no,
abnt-show-options="no",
key="aaaa"}
@ABNT-options{abnt-show-options=warn,
abnt-show-options="warn",
key="aaaa"}
@ABNT-options{abnt-show-options=list,
abnt-show-options="list",
key="aaaa"}
@ABNT-options{abnt-substyle=none,
abnt-substyle="none",
key="aaaa"}
@ABNT-options{abnt-substyle=UFLA,
abnt-etal-cite=2,
abnt-etal-list=0,
abnt-and-type="&",
key="aaaa"}
@ABNT-options{abnt-substyle=COPPE,
abnt-title-command="yes",
key="aaaa"}
@ABNT-options{abnt-thesis-year=final,
abnt-thesis-year="final",
key="aaaa"}
@ABNT-options{abnt-thesis-year=title,
abnt-thesis-year="title",
key="aaaa"}
@ABNT-options{abnt-thesis-year=both,
abnt-thesis-year="both",
key="aaaa"}
@ABNT-options{abnt-title-command=no,
abnt-title-command="no",
key="aaaa"}
@ABNT-options{abnt-title-command=yes,
abnt-title-command="yes",
key="aaaa"}
@ABNT-options{abnt-url-package=none,
abnt-url-package="none",
key="aaaa"}
@ABNT-options{abnt-url-package=url,
abnt-url-package="url",
key="aaaa"}
@ABNT-options{abnt-url-package=hyperref,
abnt-url-package="hyperref",
key="aaaa"}
@ABNT-options{abnt-verbatim-entry=no,
abnt-verbatim-entry="no",
key="aaaa"}
@ABNT-options{abnt-verbatim-entry=yes,
abnt-verbatim-entry="yes",
key="."}
@ISO-options{iso-690-1987,
abnt-cite-style="(Author, YEAR)",
iso-abbreviation="standard",
iso-author-punctuation="void",
iso-date-place="ISO",
key="aaaa"}
abntex2.cls · 35 KB
%% abntex2.cls, v-1.9.6 laurocesar
%% Copyright 2012-2016 by abnTeX2 group at https://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.
%%
%% This work has the LPPL maintenance status `maintained'.
%%
%% The Current Maintainer of this work is the abnTeX2 team, led
%% by Lauro César Araujo. Further information are available on
%% https://www.abntex.net.br/
%%
%% This work consists of the file abntex2.cls.
% ------------------------------------------------------------------------
% ------------------------------------------------------------------------
% Declaracao da classe abntex2 como uma extensao da classe memoir
% ------------------------------------------------------------------------
% ------------------------------------------------------------------------
\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{abntex2}[2016/02/26 v-1.9.6 abnTeX2]
\RequirePackage{ifthen}
%
% Captura as options article e twocolumn
%
\providecommand{\ABNTEXisarticle}{false}
\DeclareOption{article}{
\renewcommand{\ABNTEXisarticle}{true}
\PassOptionsToClass{article}{memoir}%}
}
\providecommand{\ABNTEXistwocolumn}{false}
\DeclareOption{twocolumn}{
\renewcommand{\ABNTEXistwocolumn}{true}
\PassOptionsToClass{twocolumn}{memoir}%}
}
%
% Opcoes chapter=TITLE, section=TITLE, subsection=TITLE e
% subsubsection=TITLE: titulos em letras maiusculas
%
\newboolean{ABNTEXupperchapter} %true=titles of chapter/appendix in uppercase
\newboolean{ABNTEXuppersection} %true=titles of sections in uppercase
\newboolean{ABNTEXuppersubsection} %true=titles of subsections in uppercase
\newboolean{ABNTEXuppersubsubsection} %true=titles of subsubsections in uppercase
\newboolean{ABNTEXuppersubsubsubsection} %true=titles of subsubsubsections in uppercase
\setboolean{ABNTEXupperchapter}{false}
\setboolean{ABNTEXuppersection}{false}
\setboolean{ABNTEXuppersubsection}{false}
\setboolean{ABNTEXuppersubsubsection}{false}
\setboolean{ABNTEXuppersubsubsubsection}{false}
\DeclareOption{chapter=TITLE}{\setboolean{ABNTEXupperchapter}{true}}
\DeclareOption{section=TITLE}{\setboolean{ABNTEXuppersection}{true}}
\DeclareOption{subsection=TITLE}{\setboolean{ABNTEXuppersubsection}{true}}
\DeclareOption{subsubsection=TITLE}{\setboolean{ABNTEXuppersubsubsection}{true}}
\DeclareOption{subsubsubsection=TITLE}{\setboolean{ABNTEXuppersubsubsubsection}{true}}
%
% Opções de diagramação de sumários
% sumario=tradicional : Sumário tradicional do LaTeX/Memoir
% sumario=abnt-6027-2012 : Sumário conforme recomendação da ABNT NBR 6027:2012
\newboolean{ABNTEXsumario-tradicional} %true=titles of chapter/appendix in uppercase
\newboolean{ABNTEXsumario-abnt-6027-2012}
\setboolean{ABNTEXsumario-tradicional}{false}
\setboolean{ABNTEXsumario-abnt-6027-2012}{true}
\DeclareOption{sumario=tradicional}{%
\setboolean{ABNTEXsumario-tradicional}{true}%
\setboolean{ABNTEXsumario-abnt-6027-2012}{false}}
\DeclareOption{sumario=abnt-6027-2012}{%
\setboolean{ABNTEXsumario-abnt-6027-2012}{true}
\setboolean{ABNTEXsumario-tradicional}{false}}
%
% Repassa demais opcoes a memoir
%
\DeclareOption*{%
\PassOptionsToClass{\CurrentOption}{memoir}%
}
\ProcessOptions\relax
\LoadClass{memoir}
% sumario=abnt-6027-2012 : Sumário conforme recomendação da ABNT NBR 6027:2012, que
% soh pode ser usado com memoir v3.6k ou superior
% \settocpreprocessor \changes{v3.6k}{2012/09/18}{Added}
\ifdefined\settocpreprocessor
\else
\setboolean{ABNTEXsumario-tradicional}{true}
\setboolean{ABNTEXsumario-abnt-6027-2012}{false}
\fi
% ------------------------------------------------------------------------
% ------------------------------------------------------------------------
% Comandos para tratamento de opcoes proprias
% ------------------------------------------------------------------------
% ------------------------------------------------------------------------
% ---
% Comandos para controlar as opcoes de titulos com letras maiusculas
% ---
% pacote que prove \MakeTextUppercase
\RequirePackage{textcase}
\newcommand{\ABNTEXchapterupperifneeded}[1]{\ifthenelse{\boolean{ABNTEXupperchapter}}{\MakeTextUppercase{#1}}{#1}}
\newcommand{\ABNTEXsectionupperifneeded}{\ifthenelse{\boolean{ABNTEXuppersection}}{\MakeTextUppercase}{}}
\newcommand{\ABNTEXsubsectionupperifneeded}{\ifthenelse{\boolean{ABNTEXuppersubsection}}{\MakeTextUppercase}{}}
\newcommand{\ABNTEXsubsubsectionupperifneeded}{\ifthenelse{\boolean{ABNTEXuppersubsubsection}}{\MakeTextUppercase}{}}
\newcommand{\ABNTEXsubsubsubsectionupperifneeded}{\ifthenelse{\boolean{ABNTEXuppersubsubsubsection}}{\MakeTextUppercase}{}}
% ---
% ------------------------------------------------------------------------
% ------------------------------------------------------------------------
% Pacotes adicionais e customizacoes gerais do memoir
% ------------------------------------------------------------------------
% ------------------------------------------------------------------------
% ---
% Do pacote de if/them/else
\newcommand{\abntex@ifnotempty}[2]{\ifthenelse{\not\equal{#1}{}}{#2}{}}
% ---
% ---
% Controla as referencias internas do PDF
\RequirePackage{hyperref}
\pdfstringdefDisableCommands{\def\\{, }\def\and{; }}
% ---
% ---
% Controla os bookmarks do PDF
\RequirePackage{bookmark}
% ---
% ---
% Hifenizacao e caracteres especiais portugues-brasil por padrao
% ---
\RequirePackage[brazil]{babel}
%
% Nomes constantes do abnTeX2 em portugues (definicoes padroes)
\newcommand{\folhaderostoname}{Folha de rosto}
\newcommand{\epigraphname}{Ep\'igrafe}
\newcommand{\dedicatorianame}{Dedicat\'oria}
\newcommand{\errataname}{Errata}
\newcommand{\agradecimentosname}{Agradecimentos}
\newcommand{\anexoname}{ANEXO}
\newcommand{\anexosname}{Anexos}
\newcommand{\apendicename}{AP\^ENDICE}
\newcommand{\apendicesname}{Ap\^endices}
\newcommand{\orientadorname}{Orientador:}
\newcommand{\coorientadorname}{Coorientador:}
\newcommand{\folhadeaprovacaoname}{Folha de aprova\c{c}\~ao}
\newcommand{\resumoname}{Resumo}
\newcommand{\listadesiglasname}{Lista de abreviaturas e siglas}
\newcommand{\listadesimbolosname}{Lista de s\'imbolos}
\newcommand{\fontename}{Fonte}
\newcommand{\notaname}{Nota}
%
\addto\captionsbrazil{% portugues-brasil
%% ajusta nomes padroes do babel
\renewcommand{\bibname}{Refer\^encias}
\renewcommand{\indexname}{\'Indice}
\renewcommand{\listfigurename}{Lista de ilustra\c{c}\~{o}es}
\renewcommand{\listtablename}{Lista de tabelas}
%% ajusta nomes usados com a macro \autoref
\renewcommand{\pageautorefname}{p\'agina}
\renewcommand{\sectionautorefname}{se{\c c}\~ao}
\renewcommand{\subsectionautorefname}{subse{\c c}\~ao}
\renewcommand{\subsubsectionautorefname}{subse{\c c}\~ao}
\renewcommand{\paragraphautorefname}{subse{\c c}\~ao}
}
\addto\captionsenglish{% ingles
%% adjusts names from abnTeX2
\renewcommand{\folhaderostoname}{Title page}
\renewcommand{\epigraphname}{Epigraph}
\renewcommand{\dedicatorianame}{Dedication}
\renewcommand{\errataname}{Errata sheet}
\renewcommand{\agradecimentosname}{Acknowledgements}
\renewcommand{\anexoname}{ANNEX}
\renewcommand{\anexosname}{Annex}
\renewcommand{\apendicename}{APPENDIX}
\renewcommand{\apendicesname}{Appendix}
\renewcommand{\orientadorname}{Supervisor:}
\renewcommand{\coorientadorname}{Co-supervisor:}
\renewcommand{\folhadeaprovacaoname}{Approval}
\renewcommand{\resumoname}{Abstract}
\renewcommand{\listadesiglasname}{List of abbreviations and acronyms}
\renewcommand{\listadesimbolosname}{List of symbols}
\renewcommand{\fontename}{Source}
\renewcommand{\notaname}{Note}
%% adjusts names used by \autoref
\renewcommand{\pageautorefname}{page}
\renewcommand{\sectionautorefname}{section}
\renewcommand{\subsectionautorefname}{subsection}
\renewcommand{\subsubsectionautorefname}{subsubsection}
\renewcommand{\paragraphautorefname}{subsubsubsection}
}
% ---
% ---
% Customiza listas
\RequirePackage{enumitem}
% ---
% ---
% Pacote que permite realizar operacoes matematicas no codigo TeX
\RequirePackage{calc}
% ---
% ---
% Margens - NBR 14724/2011 - 5.1 Formato
% ---
\setlrmarginsandblock{3cm}{2cm}{*}
\setulmarginsandblock{3cm}{2cm}{*}
\checkandfixthelayout
% ---
% ---
% Espacamento entre linhas - NBR 14724/2011 - 5.2 Espacamento
% ---
\OnehalfSpacing
% ---
% ------------------------------------------------------------------------
% ------------------------------------------------------------------------
% Comandos publicos
% ------------------------------------------------------------------------
% ------------------------------------------------------------------------
% ---
% ``Tamanho menor e uniforme'' ditada pela NBR 14724/2011 - 5.1
% ---
\newcommand{\ABNTEXfontereduzida}{\footnotesize}
% ---
% ---
% abnTeX2 name
\newcommand{\abnTeX}{abn\TeX2}
% ---
% ---
% Fontes padroes de part, chapter, section, subsection e subsubsection
\newcommand{\ABNTEXchapterfont}{\sffamily}
\newcommand{\ABNTEXchapterfontsize}{\Huge}
\newcommand{\ABNTEXpartfont}{\ABNTEXchapterfont}
\newcommand{\ABNTEXpartfontsize}{\ABNTEXchapterfontsize}
\newcommand{\ABNTEXsectionfont}{\ABNTEXchapterfont}
\newcommand{\ABNTEXsectionfontsize}{\Large}
\newcommand{\ABNTEXsubsectionfont}{\ABNTEXsectionfont}
\newcommand{\ABNTEXsubsectionfontsize}{\large}
\newcommand{\ABNTEXsubsubsectionfont}{\ABNTEXsubsectionfont}
\newcommand{\ABNTEXsubsubsectionfontsize}{\normalsize}
\newcommand{\ABNTEXsubsubsubsectionfont}{\ABNTEXsubsectionfont}
\newcommand{\ABNTEXsubsubsubsectionfontsize}{\normalsize}
% ---
% ------------------------------------------------------------------------
% ------------------------------------------------------------------------
% Comandos e variaveis privados
% ------------------------------------------------------------------------
% ------------------------------------------------------------------------
% ---
% Comando para registro do bookmark interno
% ---
\newcounter{abntex@bookmarkcounter}
\setcounter{abntex@bookmarkcounter}{0}
\newcommand{\PRIVATEbookmarkthis}[1]{%
\addtocounter{abntex@bookmarkcounter}{1}%
\phantomsection\pdfbookmark[0]{#1}{chapterb\arabic{abntex@bookmarkcounter}}
}
% ---
% ---
% Comando que cria capitulos nao numerados ja com bookmark anotado
% ---
\newcommand{\pretextualchapter}[1]{%
\addtocounter{abntex@bookmarkcounter}{1}%
\PRIVATEbookmarkthis{#1}%
\chapter*[#1]{#1}%
}
\provideboolean{abntex@apendiceousecao}
\setboolean{abntex@apendiceousecao}{false}
% ---
% ---
% cleardoublepage se este documento nao for article
% ---
\newcommand{\PRIVATEclearpageifneeded}{%
\ifthenelse{\equal{\ABNTEXisarticle}{true}}{%
%
}{ % else
\cleardoublepage%
}
}
% ------------------------------------------------------------------------
% ------------------------------------------------------------------------
% Configuracoes de layout
% ------------------------------------------------------------------------
% ------------------------------------------------------------------------
% ---
% Notas de rodape - footnotes - NBR 14724/2011 - 5.2.1
\setlength{\footmarkwidth}{1.2em} % largura do footnotemark
\setlength{\footmarksep}{0em}
\footmarkstyle{\footnotesize{\textsuperscript{#1}}\hfill}
% tamanho da fonte do footnote
\renewcommand{\foottextfont}{\ABNTEXfontereduzida}
% ---
% ---
% Numeracao continua das figuras
\ifthenelse{\equal{\ABNTEXisarticle}{true}}{%
\counterwithout{section}{chapter}
\counterwithout{figure}{section}
\counterwithout{table}{section}
}{%else
\counterwithout{figure}{chapter}
\counterwithout{table}{chapter}
}
% ---
% ---
% Estilos de caption
% ---
\hangcaption
\newcommand{\ABNTEXcaptiondelim}{~\textendash~}
\newcommand{\ABNTEXcaptionfontedelim}{:~}
%\captionnamefont{\ABNTEXfontereduzida}
%\captiontitlefont{\ABNTEXfontereduzida}
% Para uso com pacotes subfig e caption dentro do memoir se estes forem carregados ou não.
% É necessário para que os comandos \IBGEtab e \fonte funcionem
% independente do carregamento de pacotes externos ao memoir que tratam captions.
\newcommand{\IBGEtabfontsize}{\ABNTEXfontereduzida}
\AtBeginDocument{%
% comandos auxiliares para manipular os captions dentro do comando \IBGEtab.
\newcommand{\configurecaptions}{\captionstyle[\raggedright]{}}
\newcommand{\configureseparator}{\captiondelim{\ABNTEXcaptiondelim}}
% Define o comando \IBGEtab{}{}{} com caption e legenda da largura do conteúdo tabular, tabular*, etc
% Parece funcionar com qualque pacote
\newsavebox{\myptabbox}
\newlength{\myptabboxwidth}
\newcommand{\IBGEtab}[3]{%
\savebox{\myptabbox}{{\IBGEtabfontsize #2}}%
\settowidth{\myptabboxwidth}{\usebox{\myptabbox}}%
\centering%
\parbox{\myptabboxwidth}{%
\configurecaptions
#1%
\par%
{\IBGEtabfontsize%
#2%
}%
\par%
#3}%
}
\let\ibgetab\IBGEtab
}
% Define o comando \fonte que respeita as configurações de caption do memoir ou do caption
\makeatletter
\newcommand{\fonte}[2][\fontename]{%
\M@gettitle{#2}%
\memlegendinfo{#2}%
\par
\begingroup
\@parboxrestore
\if@minipage
\@setminipage
\fi
\ABNTEXfontereduzida
%\configureseparator
\captiondelim{\ABNTEXcaptionfontedelim}
\@makecaption{\ABNTEXfontereduzida #1}{\ignorespaces\ABNTEXfontereduzida #2}\par
\endgroup}
\makeatother
% Define o comando \notas que respeita as configurações de caption do memoir ou do caption
\makeatletter
\newcommand{\nota}[2][\notaname]{\fonte[#1]{#2}}
\makeatother
% Altera os comandos \configurecaptions e \configureseparator para trabalhar com
% o pacote caption e amigos.
\AtEndPackage{caption}{
\AtBeginDocument{%
\DeclareCaptionLabelSeparator{barr}{\ABNTEXcaptiondelim}
\DeclareCaptionFont{ABNTEXfontereduzida}{\ABNTEXfontereduzida}
\captionsetup{format=hang,
labelseparator=barr,
%labelfont=ABNTEXfontereduzida,
%font=ABNTEXfontereduzida
}
\renewcommand{\configurecaptions}{%
\captionsetup{justification=justified,%
singlelinecheck=false}}
\renewcommand{\configureseparator}{\captionsetup{labelsep=colon}}
}
}
\AtBeginDocument{
\captiondelim{\ABNTEXcaptiondelim}
}
% ---
% -----
% Configuracoes do TOC
% -----
% nivel de profundidade (implementa o quinto nivel - subsubsubsection)
\setsecnumdepth{paragraph}
\settocdepth{paragraph}
\setcounter{tocdepth}{5}
\setcounter{secnumdepth}{5}
\maxsecnumdepth{paragraph}
% redefine os comandos *paragraph* para *subsubsubsection* ****
\newcommand{\subsubsubsection}{\paragraph}
\newcommand{\cftbeforesubsubsubsectionskip}{\cftbeforeparagraphskip}
\newcommand{\cftsubsubsubsectionfont}{\cftparagraphfont}
\newcommand{\setsubsubsubsecheadstyle}{\setparaheadstyle}
\setafterparaskip{1.0\onelineskip plus 0.5\onelineskip minus 0.2\onelineskip}
\setparaheadstyle{\normalfont\sffamily\raggedright}%
% lista de ilustracoes
\renewcommand{\cftfigurename}{\figurename\space}
\renewcommand*{\cftfigureaftersnum}{\hfill\textendash\hfill}
% lista de tabelas
\renewcommand{\cfttablename}{\tablename\space}
\renewcommand*{\cfttableaftersnum}{\hfill\textendash\hfill}
% fonte das partes e do capitulo do TOC
\renewcommand{\tocheadstart}{\ABNTEXchapterfont}
% leaders para os capitulos
\renewcommand*{\cftchapterdotsep}{\cftdotsep}
% suprime espaço entre os itens de listings de diferentes capítulos
\setlength{\cftbeforechapterskip}{0pt plus 0pt}
\renewcommand*{\insertchapterspace}{}
% macros para configurar o Sumário conforme 6027-2012 ou tradicional cft
\cftinsertcode{A}{}
\newlength{\cftlastnumwidth}
\setlength{\cftlastnumwidth}{\cftsubsubsectionnumwidth}
\addtolength{\cftlastnumwidth}{1em}
\newcommand{\tocprintchapter}{}
\newcommand{\tocinnonumchapter}{}
\newcommand{\tocprintchapternonum}{}
\newcommand{\tocpartapendices}{}
\newcommand{\tocpartanexos}{}
% insere o hifen no anexo/apendice do toc
\cftinsertcode{A}{\renewcommand{\cftchapteraftersnum}{\hfill\textendash\hfill}}
% No caso de Sumario (TOC) tradicional
\ifthenelse{\boolean{ABNTEXsumario-tradicional}}{}{} % essa linha não faz nada,
% mas se houver necessidade de alterar o comportamento
% do sumário tradicional altere aqui.
% No caso de Sumario (TOC) especifico da ABNT-6027-2012
\makeatletter
\ifthenelse{\boolean{ABNTEXsumario-abnt-6027-2012}}{
\settocpreprocessor{chapter}{%
\let\tempf@rtoc\f@rtoc%
\def\f@rtoc{%
\texorpdfstring{\MakeTextUppercase{\tempf@rtoc}}{\tempf@rtoc}}%
}
\settocpreprocessor{part}{%
\let\tempf@rtoc\f@rtoc%
\def\f@rtoc{%
\texorpdfstring{\MakeTextUppercase{\tempf@rtoc}}{\tempf@rtoc}}%
}
}{}
\makeatother
%
\ifthenelse{\boolean{ABNTEXsumario-abnt-6027-2012}}{%
\cftsetindents{part}{0em}{\cftlastnumwidth}
\cftsetindents{chapter}{0em}{\cftlastnumwidth}
\cftsetindents{section}{0em}{\cftlastnumwidth}
\cftsetindents{subsection}{0em}{\cftlastnumwidth}
\cftsetindents{subsubsection}{0em}{\cftlastnumwidth}
\cftsetindents{paragraph}{0em}{\cftlastnumwidth}
\cftsetindents{subparagraph}{0em}{\cftlastnumwidth}
%
\renewcommand{\tocprintchapter}{%
\addtocontents{toc}{\cftsetindents{chapter}{0em}{\cftlastnumwidth}}}
%
\renewcommand{\tocinnonumchapter}{%
\addtocontents{toc}{\cftsetindents{chapter}{\cftlastnumwidth}{2em}}%
\cftinserthook{toc}{A}}
%
\renewcommand{\tocprintchapternonum}{%
\addtocontents{toc}{\cftsetindents{chapter}{\cftlastnumwidth}{2em}}}
%
\renewcommand{\tocpartapendices}{%
\addtocontents{toc}{\cftsetindents{part}{\cftlastnumwidth}{2em}}
\cftinserthook{toc}{A}}
%
\renewcommand{\tocpartanexos}{%
\addtocontents{toc}{\cftsetindents{part}{\cftlastnumwidth}{2em}}
\cftinserthook{toc}{A}}
%
\setlength{\cftbeforechapterskip}{1em}
%
% Fontes das entradas do sumario
%
\renewcommand{\cftpartfont}{\bfseries\larger}
%
\renewcommand{\cftchapterfont}{\bfseries}
\renewcommand{\cftchapterpagefont}{\normalsize\cftchapterfont}
%
\renewcommand{\cftsectionfont}{\bfseries}
\renewcommand{\cftsectionpagefont}{\cftsectionfont}
%
\renewcommand{\cftsubsectionfont}{\normalsize}
\renewcommand{\cftsubsectionpagefont}{\cftsubsectionfont}
%
\renewcommand{\cftsubsubsectionfont}{\small}
\renewcommand{\cftsubsubsectionpagefont}{\cftsubsubsectionfont}
%
\renewcommand{\cftparagraphfont}{\footnotesize}
\renewcommand{\cftparagraphpagefont}{\cftparagraphfont}
%
% Ajusta entrada Referencias
%
\renewcommand{\bibsection}{%
\chapter*{\bibname}
\bibmark
\ifnobibintoc\else
\phantomsection
\addcontentsline{toc}{chapter}{\uppercase{\bibname}}
\fi
\prebibhook
}
}{}
% Comando que simula a finalizacao de uma parte no bookmark e
% adiciona espaco de \part no sumario
\newcommand{\phantompart}{%
\bookmarksetup{startatroot}%
\phantomsection%
\ifthenelse{\boolean{ABNTEXsumario-abnt-6027-2012}}{%
\addtocontents{toc}{\vspace{\cftbeforechapterskip}}}{%
\addtocontents{toc}{\vspace{\cftbeforepartskip}}}%
}
% -----
% ---
% Configuracao dos titulos dos capitulos
% Novo estido do memoir
% ABNT NBR 14724-2011 - 5.2.2-5.2.4; ABNT NBR 6024-2003 - 3.1-3.8
\provideboolean{abntex@innonumchapter}
\setboolean{abntex@innonumchapter}{true}
\makechapterstyle{abnt}{%
\renewcommand{\chapterheadstart}{}
\ifx \chapternamenumlength \undefined
\newlength{\chapternamenumlength}
\fi
% tamanhos de fontes de chapter e part
\ifthenelse{\equal{\ABNTEXisarticle}{true}}{%
\setlength\beforechapskip{\baselineskip}
\renewcommand{\chaptitlefont}{\ABNTEXsectionfont\ABNTEXsectionfontsize}
}{%else
\setlength{\beforechapskip}{0pt}
\renewcommand{\chaptitlefont}{\ABNTEXchapterfont\ABNTEXchapterfontsize}
}
\renewcommand{\chapnumfont}{\chaptitlefont}
\renewcommand{\parttitlefont}{\ABNTEXpartfont\ABNTEXpartfontsize}
\renewcommand{\partnumfont}{\ABNTEXpartfont\ABNTEXpartfontsize}
\renewcommand{\partnamefont}{\ABNTEXpartfont\ABNTEXpartfontsize}
% tamanhos de fontes de section, subsection, subsubsection e subsubsubsection
\setsecheadstyle{\ABNTEXsectionfont\ABNTEXsectionfontsize\ABNTEXsectionupperifneeded}
\setsubsecheadstyle{\ABNTEXsubsectionfont\ABNTEXsubsectionfontsize\ABNTEXsubsectionupperifneeded}
\setsubsubsecheadstyle{\ABNTEXsubsubsectionfont\ABNTEXsubsubsectionfontsize\ABNTEXsubsubsectionupperifneeded}
\setsubsubsubsecheadstyle{\ABNTEXsubsubsubsectionfont\ABNTEXsubsubsubsectionfontsize\ABNTEXsubsubsubsectionupperifneeded}
% impressao do numero do capitulo
\renewcommand{\chapternamenum}{}
% impressao do nome do capitulo
\renewcommand{\printchaptername}{%
\chaptitlefont
\ifthenelse{\boolean{abntex@apendiceousecao}}{\appendixname}{}%
}
% impressao do titulo do capitulo
\def\printchaptertitle##1{%
\chaptitlefont%
\ifthenelse{\boolean{abntex@innonumchapter}}{\centering\ABNTEXchapterupperifneeded{##1}}{%
\ifthenelse{\boolean{abntex@apendiceousecao}}{%
\centering%
\settowidth{\chapternamenumlength}{\printchaptername\printchapternum\afterchapternum}%
\ABNTEXchapterupperifneeded{##1}%
}{%
\settowidth{\chapternamenumlength}{\printchaptername\printchapternum\afterchapternum}%
\parbox[t]{\columnwidth-\chapternamenumlength}{\ABNTEXchapterupperifneeded{##1}}}%
}
}
% impressao do numero do capitulo
\renewcommand{\printchapternum}{%
\tocprintchapter
\setboolean{abntex@innonumchapter}{false}
\chapnumfont%
\space\thechapter\space%
\ifthenelse{\boolean{abntex@apendiceousecao}}{%
\tocinnonumchapter
\ABNTEXcaptiondelim%
}{} % else
}
\renewcommand{\afterchapternum}{}
% impressao do capitulo nao numerado
\renewcommand\printchapternonum{%
\tocprintchapternonum
\setboolean{abntex@innonumchapter}{true}%
}
}
\chapterstyle{abnt}
% ---
% -----
% Declaracoes de cabecalhos
% -----
% Cabecalho padrao
\makepagestyle{abntheadings}
\makeevenhead{abntheadings}{\ABNTEXfontereduzida\thepage}{}{\ABNTEXfontereduzida\textit\leftmark}
\makeoddhead{abntheadings}{\ABNTEXfontereduzida\textit\rightmark}{}{\ABNTEXfontereduzida\thepage}
\makeheadrule{abntheadings}{\textwidth}{\normalrulethickness}
% Cabecalho do inicio do capitulo
\makepagestyle{abntchapfirst}
\makeoddhead{abntchapfirst}{}{}{\ABNTEXfontereduzida\thepage}
% ---
% ---
% Configura layout para elementos pre-textuais
\newcommand{\pretextual}{%
\aliaspagestyle{chapter}{empty}% customizing chapter pagestyle
\pagestyle{empty}
\aliaspagestyle{cleared}{empty}
\aliaspagestyle{part}{empty}
}
\renewcommand{\frontmatter}{\pretextual}
% por default, inicializa o documento com elementos \pretextuais
\AtBeginDocument{\pretextual}
% ---
% ---
% Configura layout para elementos textuais
\newcommand{\textual}{%
\ifthenelse{\equal{\ABNTEXisarticle}{true}}{%
\pagestyle{plain}%
}{%else
\pagestyle{abntheadings}%
\aliaspagestyle{chapter}{abntchapfirst}% customizing chapter pagestyle
}
\nouppercaseheads%
\bookmarksetup{startatroot}%
}
\renewcommand{\mainmatter}{\textual}
% ---
% ---
% Configura layout para elementos pos-textuais
\newcommand{\postextual}{\phantompart}
\renewcommand{\backmatter}{\postextual}
% -----
% ------------------------------------------------------------------------
% ------------------------------------------------------------------------
% Comandos de dados para CAPA e FOLHA DE ROSTO
% ------------------------------------------------------------------------
% ------------------------------------------------------------------------
% Comandos de dados - titulo do documento
\newcommand{\titulo}[1]{\title{#1}}
\newcommand{\imprimirtitulo}{\thetitle}
% Comandos de dados - autor (use \and para multiplos autores)
\newcommand{\autor}[1]{\author{#1}}
\newcommand{\imprimirautor}{\theauthor}
% Comandos de dados - data
\let\olddate\date
\renewcommand{\date}[1]{\AtBeginDocument{\olddate{#1}}}
\newcommand{\data}[1]{\date{#1}}
\newcommand{\imprimirdata}{\thedate}
% Comandos de dados - instituicao
\providecommand{\imprimirinstituicao}{}
\newcommand{\instituicao}[1]{\renewcommand{\imprimirinstituicao}{#1}}
% Comandos de dados - local
\providecommand{\imprimirlocal}{}
\newcommand{\local}[1]{\renewcommand{\imprimirlocal}{#1}}
% Comandos de dados - preambulo
\providecommand{\imprimirpreambulo}{}
\newcommand{\preambulo}[1]{\renewcommand{\imprimirpreambulo}{#1}}
% Comandos de dados - orientador
\providecommand{\imprimirorientadorRotulo}{}
\providecommand{\imprimirorientador}{}
\newcommand{\orientador}[2][\orientadorname]%
{\renewcommand{\imprimirorientadorRotulo}{#1}%
\renewcommand{\imprimirorientador}{#2}}
% Comandos de dados - coorientador
\providecommand{\imprimircoorientadorRotulo}{}
\providecommand{\imprimircoorientador}{}
\newcommand{\coorientador}[2][\coorientadorname]%
{\renewcommand{\imprimircoorientadorRotulo}{#1}%
\renewcommand{\imprimircoorientador}{#2}}
% Comandos de dados - tipo de trabalho
\providecommand{\imprimirtipotrabalho}{}
\newcommand{\tipotrabalho}[1]{\renewcommand{\imprimirtipotrabalho}{#1}}
% ------------------------------------------------------------------------
% ------------------------------------------------------------------------
% Comandos e ambientes de editoracao PRE-TEXTUAIS
% ------------------------------------------------------------------------
% ------------------------------------------------------------------------
% ---
% Ambiente para definicao da Capa
\newenvironment{capa}{\begin{titlingpage}}{\end{titlingpage}\cleardoublepage}
% ---
% ---
% Ficha catalografica (Dados internacionais de
% catalogação-na-publicacao)
\newenvironment{fichacatalografica}{%
\thispagestyle{empty}
\begin{SingleSpacing}
\ABNTEXfontereduzida
}{%
\end{SingleSpacing}%
}%
% ---
% ---
% Errata
\newenvironment{errata}[1][\errataname]{%
\pretextualchapter{#1}
}{\PRIVATEclearpageifneeded}
% ---
% ---
% Folha de aprovacao - NBR 14724/2011 - 4.2.1.3
\newenvironment{folhadeaprovacao}[1][\folhadeaprovacaoname]{%
\clearpage%
\PRIVATEbookmarkthis{#1}%
\begin{Spacing}{1.0}
}{\end{Spacing}\PRIVATEclearpageifneeded}
% ---
% ---
% Dedicatoria
\newenvironment{dedicatoria}[1][]{%
\ifthenelse{\equal{#1}{}}{%
\PRIVATEbookmarkthis{\dedicatorianame}
}{\pretextualchapter{#1}}
}{\PRIVATEclearpageifneeded}
% ---
% ---
% Agradecimentos
\newenvironment{agradecimentos}[1][\agradecimentosname]{%
\pretextualchapter{#1}
}{\PRIVATEclearpageifneeded}
% ---
% ---
% Epigrafe
\newenvironment{epigrafe}[1][]{%
\ifthenelse{\equal{#1}{}}{%
\PRIVATEbookmarkthis{\epigraphname}
}{\pretextualchapter{#1}}
}{\PRIVATEclearpageifneeded}
% ---
% ---
% Resumo e abstracts em diferentes idiomas - NBR 14724/2011
% altera as margens padrões do memoir para abstract caso nao seja article
\ifthenelse{\equal{\ABNTEXisarticle}{true}}{%
% em artigos, margens e fontes são as mesmas de memoir
}{ % else
% Ajusta as margens para serem a mesma do documento
\setlength\absleftindent{0cm}
\setlength\absrightindent{0cm}
% Garante que a fonte do texto do abstract será a mesma do documento, pois
% na classe memoir está \small
\renewcommand{\abstracttextfont}{\normalfont\normalsize}
}
% A norma não diz nada sobre identação e separação entre parágrafos no abstract,
% porém o uso mostra que muitos abstracts são montados sem identação.
\AtBeginDocument{%
\setlength{\absparindent}{0pt}
}
\newenvironment{resumo}[1][\resumoname]{%
\PRIVATEbookmarkthis{#1}
\renewcommand{\abstractnamefont}{\chaptitlefont}
\renewcommand{\abstractname}{\ABNTEXchapterupperifneeded{#1}}
\begin{abstract}
}{\end{abstract}\PRIVATEclearpageifneeded}
\newenvironment{resumoumacoluna}[1][\resumoname]{%
\PRIVATEbookmarkthis{#1}
\renewcommand{\abstractnamefont}{\chaptitlefont}
\renewcommand{\abstractname}{\ABNTEXchapterupperifneeded{#1}}
\begin{onecolabstract}
}{\end{onecolabstract}\PRIVATEclearpageifneeded}
% ---
% ---
% Lista de abreviaturas e siglas
\newenvironment{siglas}{%
\pretextualchapter{\listadesiglasname}
\begin{symbols}
}{%
\end{symbols}
\cleardoublepage
}
% ---
% ---
% Lista de sembolos
\newenvironment{simbolos}{%
\pretextualchapter{\listadesimbolosname}
\begin{symbols}
}{%
\end{symbols}
\cleardoublepage
}
% ---
% ------------------------------------------------------------------------
% ------------------------------------------------------------------------
% Comandos e ambientes de editoracao APENDICES e ANEXOS
% ------------------------------------------------------------------------
% ------------------------------------------------------------------------
% ---
% Definicoes compartilhadas entre Apendices e Anexos
% ---
\makeatletter
\newcommand\@switch[1]{ \@writefile{toc}{\renewcommand*{\cftappendixname}{#1 \space}} }
\newcommand{\switchchapname}[1]{ \protected@write \@auxout {}{\string\@switch{#1} }}
\makeatother
\newcommand{\PRIVATEapendiceconfig}[2]{%
\setboolean{abntex@apendiceousecao}{true}%
\renewcommand{\appendixname}{#1}
\ifthenelse{\boolean{ABNTEXsumario-abnt-6027-2012}}{
\renewcommand{\appendixtocname}{\uppercase{#2}}
}{%
\renewcommand{\appendixtocname}{#2}}
\renewcommand{\appendixpagename}{#2}
\switchchapname{#1}% Corrected from \switchapname -> \switchchapname
\renewcommand*{\cftappendixname}{#1 \space}
}
% ---
% ---
% Apendices - comando
\newcommand{\apendices}{%
\PRIVATEapendiceconfig{\apendicename}{\apendicesname}
\appendix
}
% Apendices - ambiente
\newenvironment{apendicesenv}{%
\PRIVATEapendiceconfig{\apendicename}{\apendicesname}
\begin{appendix}
}{
\end{appendix}
\setboolean{abntex@apendiceousecao}{false}
\bookmarksetup{startatroot}
}
% ---
% ---
% Anexos - comando
\newcommand{\anexos}{%
\cftinserthook{toc}{AAA}
\PRIVATEapendiceconfig{\anexoname}{\anexosname}
\appendix
\renewcommand\theHchapter{anexochapback.\arabic{chapter}}
}
% Anexos - ambiente
\newenvironment{anexosenv}{%
\cftinserthook{toc}{AAA}
\PRIVATEapendiceconfig{\anexoname}{\anexosname}
\begin{appendix}
\renewcommand\theHchapter{anexochapback.\arabic{chapter}}
}{
\end{appendix}
\setboolean{abntex@apendiceousecao}{false}
\bookmarksetup{startatroot}
}
% ---
% ---
% Imprime uma pagina de divisao no estilo parte
\newcommand{\partpage}{%
\cleardoublepage
\phantomsection
\addcontentsline{toc}{part}{\appendixtocname}%
\appendixpage*
}
% atalhos para \partpage ou \appendixpage*
\makeatletter
\newcommand{\partapendices}{%
\tocpartapendices%
\@ifstar{\appendixpage*}{\partpage}}
\newcommand{\partanexos}{%
\tocpartanexos%
\@ifstar{\appendixpage*}{\partpage}}
\makeatother
% ---
% ------------------------------------------------------------------------
% ------------------------------------------------------------------------
% Comandos e ambientes de editoracao CITACAO, ALINEA, INCISO, ASSINATURA
% ------------------------------------------------------------------------
% ------------------------------------------------------------------------
% ---
% Citacao direta com mais de 3 linhas - ABNT NBR 10520/2002 - 5.3
\newlength{\ABNTEXcitacaorecuo}% recuo de 4 cm da margem esquerda
\ifthenelse{\equal{\ABNTEXistwocolumn}{true}}{%
\setlength{\ABNTEXcitacaorecuo}{1.8cm}
}{% else
\setlength{\ABNTEXcitacaorecuo}{4cm}
}
\newenvironment*{citacao}[1][default]{%
\list{}%
\ABNTEXfontereduzida%
\addtolength{\leftskip}{\ABNTEXcitacaorecuo}%
\item[]%
\begin{SingleSpace}%
\ifthenelse{\not\equal{#1}{default}}{\itshape\selectlanguage{#1}}{}%
}{%
\end{SingleSpace}%
\endlist}%
% ---
% ---
% Ambiente para alineas e e subalineas (incisos)
% ABNT NBR 6024/2012 - 4.2 e 4.3
\newlist{alineas}{enumerate}{2}
\setlist[alineas,1]{label={\alph*)},topsep=0pt,itemsep=0pt,leftmargin=\parindent+\labelwidth-\labelsep}%
\setlist[alineas,2]{label={--},topsep=0pt,itemsep=0pt,leftmargin=*}
\newlist{subalineas}{enumerate}{1}
\setlist[subalineas,1]{label={--},topsep=0pt,itemsep=0pt,leftmargin=*}%
\newlist{incisos}{enumerate}{1}
\setlist[incisos,1]{label={--},topsep=0pt,itemsep=0pt,leftmargin=*}%
% ---
% ---
% Comando \assinatura for signature
% width of the line and text under the line
\newlength{\ABNTEXsignwidth}
\setlength{\ABNTEXsignwidth}{8cm}
% thickness of the line
\newlength{\ABNTEXsignthickness}
\setlength{\ABNTEXsignthickness}{1pt}
% ammount of space left between previous text and th signature line
\newlength{\ABNTEXsignskip}
\setlength{\ABNTEXsignskip}{0.7cm}
% \assinatura{name} -> types a line with name under the line, centralized
% \assinatura*{name} -> Creates the box with the line and name under
% it, but the box has no position assigned. However the line and the
% name are centralized with respect to each other.
\makeatletter
\newcommand{\assinatura}{\@ifstar{\ABNTEXsign}{\ABNTEXcsign}}
\makeatother
% assinatura com estrela
\newcommand{\ABNTEXsign}[1]{%
\parbox[t]{\ABNTEXsignwidth}{\SingleSpacing\vspace*{\ABNTEXsignskip}\centering%
\rule{\ABNTEXsignwidth}{\ABNTEXsignthickness}\\%
\nopagebreak #1\par}%
}
% assinatura sem estrela
\newcommand{\ABNTEXcsign}[1]%
{\begingroup\par\centering\ABNTEXsign{#1}\par\endgroup}
% ---
% ------------------------------------------------------------------------
% ------------------------------------------------------------------------
% IMPRESSOES PADROES DE CAPA E FOLHA DE ROSTO
% ------------------------------------------------------------------------
% ------------------------------------------------------------------------
% ---
% Impressão da Capa
\newcommand{\imprimircapa}{%
\begin{capa}%
\center
\ABNTEXchapterfont\large\imprimirautor
\vfill
\begin{center}
\ABNTEXchapterfont\bfseries\LARGE\imprimirtitulo
\end{center}
\vfill
\large\imprimirlocal
\large\imprimirdata
\vspace*{1cm}
\end{capa}
}
% ---
% ---
% Folha de rosto
% usar \imprimirfolhaderosto* casodeseje imprimir algo no verso da
% página no caso de estar no modo twoside. Util para imprimir a Ficha
% Bibliografica. Porem, se estiver no modo oneside, a versao sem estrela
% é identica.
\newenvironment{folhaderosto}[1][\folhaderostoname]{\clearpage\PRIVATEbookmarkthis{#1}}{\cleardoublepage}
\newenvironment{folhaderosto*}[1][\folhaderostoname]{\clearpage\PRIVATEbookmarkthis{#1}}{\newpage}%
% ---
% Conteudo padrao da Folha de Rosto
\makeatletter
\newcommand{\folhaderostocontent}{
\begin{center}
%\vspace*{1cm}
{\ABNTEXchapterfont\large\imprimirautor}
\vspace*{\fill}\vspace*{\fill}
\begin{center}
\ABNTEXchapterfont\bfseries\Large\imprimirtitulo
\end{center}
\vspace*{\fill}
\abntex@ifnotempty{\imprimirpreambulo}{%
\hspace{.45\textwidth}
\begin{minipage}{.5\textwidth}
\SingleSpacing
\imprimirpreambulo
\end{minipage}%
\vspace*{\fill}
}%
{\abntex@ifnotempty{\imprimirinstituicao}{\imprimirinstituicao\vspace*{\fill}}}
{\large\imprimirorientadorRotulo~\imprimirorientador\par}
\abntex@ifnotempty{\imprimircoorientador}{%
{\large\imprimircoorientadorRotulo~\imprimircoorientador}%
}%
\vspace*{\fill}
{\large\imprimirlocal}
\par
{\large\imprimirdata}
\vspace*{1cm}
\end{center}
}
\makeatother
\newcommand{\imprimirfolhaderostostar}[1]{%
\begin{folhaderosto*}{#1}
\folhaderostocontent
\end{folhaderosto*}}
\newcommand{\imprimirfolhaderostonostar}[1]{%
\begin{folhaderosto}{#1}
\folhaderostocontent
\end{folhaderosto}}
\makeatletter
\newcommand{\imprimirfolhaderosto}[1][\folhaderostoname]{%
\@ifstar
\imprimirfolhaderostostar
\imprimirfolhaderostonostar
}
\makeatother
% ---
abntex2abrev.sty · 5 KB
%% abntex2abrev.sty, v-1.9.6 laurocesar
%% Copyright 2012-2016 by abnTeX2 group at https://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.
%%
%% This work has the LPPL maintenance status `maintained'.
%%
%% The Current Maintainer of this work is the abnTeX2 team, led
%% by Lauro César Araujo. Further information are available on
%% https://www.abntex.net.br/
%%
%% Creator and original mantainer: Gerald Weber <[email protected]>
%% Copyright 2003 by the abnTeX group at http://abntex.codigolivre.org.br
\NeedsTeXFormat{LaTeX2e}
\RequirePackage{ifthen}
\newcommand{\NoAbrevending}{\let\Abrevending\@empty}
% Incorporating file nbr10522-1988.def from abntex1
\newcommand{\@NBR@A@abril}{abr}
\newcommand{\@NBR@A@acompanhamento}{acomp}
\newcommand{\@NBR@A@adaptacao}{adapt}
\newcommand{\@NBR@A@adaptado}{adapt}
\newcommand{\@NBR@A@adaptada}{adapt}
\newcommand{\@NBR@A@adaptador}{adapt}
\newcommand{\@NBR@A@adaptadora}{adapt}
\newcommand{\@NBR@A@agosto}{ago}
\newcommand{\@NBR@A@ampliado}{ampl}
\newcommand{\@NBR@A@ampliada}{ampl}
\newcommand{\@NBR@A@capitulo}{cap}
\newcommand{\@NBR@A@capitulos}{cap}
\newcommand{\@NBR@A@citacao}{cit}
\newcommand{\@NBR@A@edicao}{ed}
\newcommand{\@NBR@A@editado}{ed}
\newcommand{\@NBR@A@editada}{ed}
\newcommand{\@NBR@A@editor}{ed}
\newcommand{\@NBR@A@editora}{ed}
\newcommand{\@NBR@A@fevereiro}{fev}
\newcommand{\@NBR@A@dezembro}{dez}
\newcommand{\@NBR@A@ilustracao}{il}
\newcommand{\@NBR@A@ilustrado}{il}
\newcommand{\@NBR@A@ilustrada}{il}
\newcommand{\@NBR@A@ilustrador}{il}
\newcommand{\@NBR@A@ilustradora}{il}
\newcommand{\@NBR@A@janeiro}{jan}
\newcommand{\@NBR@A@junho}{jun}
\newcommand{\@NBR@A@julho}{jul}
\newcommand{\@NBR@A@marco}{mar}
\newcommand{\@NBR@A@maio}{maio\NoAbrevending}
\newcommand{\@NBR@A@novembro}{nov}
\newcommand{\@NBR@A@outubro}{out}
\newcommand{\@NBR@A@oeste}{O\NoAbrevending}
\newcommand{\@NBR@A@setembro}{set}
\newcommand{\@NBR@A@pagina}{p}
% end of nbr10522-1988.def
\newcommand{\@NBR}{@NBR@A@}
\newcommand{\@PREF@}[1]{\csname \@NBR#1\endcsname}
% Incorporating file abntex-abrev-pt_BR.def from abntex1
\providecommand{\@PREF@}{}
\newcommand{\@TR@adaptation}{\@PREF@{adaptacao}}
\newcommand{\@TR@adapted}{\@PREF@{adaptado}}
\newcommand{\@TR@adapter}{\@PREF@{adaptador}}
\newcommand{\@TR@april}{\@PREF@{abril}}
\newcommand{\@TR@august}{\@PREF@{agosto}}
\newcommand{\@TR@chapter}{\@PREF@{capitulo}}
\newcommand{\@TR@chapters}{\@PREF@{capitulos}}
\newcommand{\@TR@citation}{\@PREF@{citacao}}
\newcommand{\@TR@extended}{\@PREF@{ampliado}}
\newcommand{\@TR@edited}{\@PREF@{editado}}
\newcommand{\@TR@edition}{\@PREF@{edicao}}
\newcommand{\@TR@editor}{\@PREF@{editor}}
\newcommand{\@TR@february}{\@PREF@{fevereiro}}
\newcommand{\@TR@december}{\@PREF@{dezembro}}
\newcommand{\@TR@illustrated}{\@PREF@{ilustrado}}
\newcommand{\@TR@illustration}{\@PREF@{ilustracao}}
\newcommand{\@TR@illustrator}{\@PREF@{ilustrador}}
\newcommand{\@TR@january}{\@PREF@{janeiro}}
\newcommand{\@TR@june}{\@PREF@{junho}}
\newcommand{\@TR@jule}{\@PREF@{julho}}
\newcommand{\@TR@march}{\@PREF@{marco}}
\newcommand{\@TR@may}{\@PREF@{maio}}
\newcommand{\@TR@november}{\@PREF@{novembro}}
\newcommand{\@TR@october}{\@PREF@{outubro}}
\newcommand{\@TR@september}{\@PREF@{setembro}}
\newcommand{\@TR@west}{\@PREF@{oeste}}
\newcommand{\@TR@page}{\@PREF@{pagina}}
% end of abntex-abrev-pt_BR.def
\ProcessOptions
\newcommand{\@TR@}{@TR@}
\newcommand{\Capitalize}[1]{\uppercase{#1}}
%para testar, coloca os resultados em forma mais explícita
\newcommand{\TESTabrev}[1]{%
\@ifundefined{@TR@#1}{pt(#1):\csname \@NBR#1\endcsname}{en(#1):\csname \@TR@#1\endcsname}}
%controla como termina a abreviação
\newcommand{\abrevending}{.}
\newcommand{\Abrevending}{}
%comando para usuários, pode ser portugês ou inglês
\newcommand{\abrev}[1]{\let\Abrevending\abrevending%
\@ifundefined{@TR@#1}{\csname \@NBR#1\endcsname\Abrevending}{\csname \@TR@#1\endcsname\Abrevending}}
%comando para usuários, pode ser portugês ou inglês
\newcommand{\Abrev}[1]{\expandafter\Capitalize\abrev{#1}}
%comando para desenvolvedores, só inglês sem finalização, ou seja sem ponto
\newcommand{\ABNTEXabrev}[1]{\@ifundefined{@TR@#1}{#1}{\csname \@TR@#1\endcsname}}
%comando para desenvolvedores, só inglês com finalização, ou seja com ponto
\newcommand{\ABNTEXabrevp}[1]{\let\Abrevending\abrevending
\ABNTEXabrev{#1}\Abrevending}
abntex2cite.sty · 40 KB
40 KB — too long to show here. It arrives with the project.
logo_uerj_cinza.png — binary, 224 KB
marcadagua_uerj_cinza.png — binary, 20 KB
repUERJ.cls · 28 KB
% 17/05/2013
% Para fazer
% 1. providenciar a hifenacao para palavras com cedilha e acentos (UTF8)
% 2. consertar o problema de sublinar subsecoes com \uline
\NeedsTeXFormat{LaTeX2e}[1995/12/01]
\ProvidesClass{repUERJ}[2013/06/01 v7.0]
\RequirePackage{ifthen}
\RequirePackage[normalem]{ulem}
\RequirePackage{caption}
\RequirePackage[dvipsnames,svgnames]{xcolor}
\RequirePackage{pdfpages}
\RequirePackage{setspace}
\providecommand{\packagename}{repUERJ v7.0}
% refaz o comando do setspace
\renewcommand{\singlespacing}{\setstretch {\setspace@singlespace}}
\newcommand\@ptsize{}
\newif\if@restonecol
\newif\if@titlepage
\@titlepagetrue
\newif\if@openright
\if@compatibility\else
\DeclareOption{a4paper}
{\setlength\paperheight {297mm}%
\setlength\paperwidth {210mm}}
\DeclareOption{a5paper}
{\setlength\paperheight {210mm}%
\setlength\paperwidth {148mm}}
\DeclareOption{b5paper}
{\setlength\paperheight {250mm}%
\setlength\paperwidth {176mm}}
\DeclareOption{letterpaper}
{\setlength\paperheight {11in}%
\setlength\paperwidth {8.5in}}
\DeclareOption{legalpaper}
{\setlength\paperheight {14in}%
\setlength\paperwidth {8.5in}}
\DeclareOption{executivepaper}
{\setlength\paperheight {10.5in}%
\setlength\paperwidth {7.25in}}
\DeclareOption{landscape}
{\setlength\@tempdima {\paperheight}%
\setlength\paperheight {\paperwidth}%
\setlength\paperwidth {\@tempdima}}
\fi
\if@compatibility
\renewcommand\@ptsize{0}
\else
\DeclareOption{10pt}{\renewcommand\@ptsize{0}}
\fi
\DeclareOption{11pt}{\renewcommand\@ptsize{1}}
\DeclareOption{12pt}{\renewcommand\@ptsize{2}}
\if@compatibility\else
\DeclareOption{oneside}{\@twosidefalse \@mparswitchfalse}
\fi
\DeclareOption{twoside}{\@twosidetrue \@mparswitchtrue}
\DeclareOption{draft}{\setlength\overfullrule{5pt}}
\if@compatibility\else
\DeclareOption{final}{\setlength\overfullrule{0pt}}
\fi
\DeclareOption{titlepage}{\@titlepagetrue}
\if@compatibility\else
\DeclareOption{notitlepage}{\@titlepagefalse}
\fi
\if@compatibility\else
\DeclareOption{openright}{\@openrighttrue}
\DeclareOption{openany}{\@openrightfalse}
\fi
\if@compatibility\else
\DeclareOption{onecolumn}{\@twocolumnfalse}
\fi
\DeclareOption{twocolumn}{\@twocolumntrue}
\DeclareOption{leqno}{\input{leqno.clo}}
\DeclareOption{fleqn}{\input{fleqn.clo}}
\DeclareOption{openbib}{%
\AtEndOfPackage{%
\renewcommand\@openbib@code{%
\advance\leftmargin\bibindent
\itemindent -\bibindent
\listparindent \itemindent
\parsep \z@
}%
\renewcommand\newblock{\par}}%
}
%\ExecuteOptions{a4paper,12pt,oneside,onecolumn,final,openany}
\ProcessOptions
\input{size1\@ptsize.clo}
\setlength\lineskip{1\p@}
\setlength\normallineskip{1\p@}
\renewcommand\baselinestretch{}
\setlength\parskip{0\p@ \@plus \p@}
\@lowpenalty 51
\@medpenalty 151
\@highpenalty 301
\setcounter{topnumber}{2}
\renewcommand\topfraction{.7}
\setcounter{bottomnumber}{1}
\renewcommand\bottomfraction{.3}
\setcounter{totalnumber}{3}
\renewcommand\textfraction{.2}
\renewcommand\floatpagefraction{.5}
\setcounter{dbltopnumber}{2}
\renewcommand\dbltopfraction{.7}
\renewcommand\dblfloatpagefraction{.5}
\if@twoside
\def\ps@headings{%
\let\@oddfoot\@empty\let\@evenfoot\@empty
\def\@evenhead{\thepage\hfil\slshape\leftmark}%
\def\@oddhead{{\slshape\rightmark}\hfil\thepage}%
\let\@mkboth\markboth
\def\chaptermark##1{%
\markboth {\MakeUppercase{%
\ifnum \c@secnumdepth >\m@ne
\@chapapp\ \thechapter. \ %
\fi
##1}}{}}%
\def\sectionmark##1{%
\markright {\MakeUppercase{%
\ifnum \c@secnumdepth >\z@
\thesection. \ %
\fi
##1}}}}
\else
\def\ps@headings{%
\let\@oddfoot\@empty
\def\@oddhead{{\slshape\rightmark}\hfil\thepage}%
\let\@mkboth\markboth
\def\chaptermark##1{%
\markright {\MakeUppercase{%
\ifnum \c@secnumdepth >\m@ne
\@chapapp\ \thechapter. \ %
\fi
##1}}}}
\fi
\def\ps@UERJ{%
\let\@oddfoot\@empty
\def\@oddhead{\hfil\thepage}%
}
\def\ps@myheadings{%
\let\@oddfoot\@empty\let\@evenfoot\@empty
\def\@evenhead{\thepage\hfil\slshape\leftmark}%
\def\@oddhead{{\slshape\rightmark}\hfil\thepage}%
\let\@mkboth\@gobbletwo
\let\chaptermark\@gobble
\let\sectionmark\@gobble}
\if@titlepage
\newcommand\maketitle{
\begin{titlepage}%
\let\footnotesize\small
\let\footnoterule\relax
\let \footnote \thanks
\null\vfil
\vskip 60\p@
\begin{center}%
{\LARGE \@title \par}%
\vskip 3em%
{\large
\lineskip .75em%
\begin{tabular}[t]{c}%
\@author
\end{tabular}\par}%
\vskip 1.5em%
{\large \@date \par}% % Set date in \large size.
\end{center}\par
\@thanks
\vfil\null
\end{titlepage}%
\setcounter{footnote}{0}%
\global\let\thanks\relax
\global\let\maketitle\relax
\global\let\@thanks\@empty
\global\let\@author\@empty
\global\let\@date\@empty
\global\let\@title\@empty
\global\let\title\relax
\global\let\author\relax
\global\let\date\relax
\global\let\and\relax
}
\else
\newcommand\maketitle{\par
\begingroup
\renewcommand\thefootnote{\@fnsymbol\c@footnote}%
\def\@makefnmark{\rlap{\@textsuperscript{\normalfont\@thefnmark}}}%
\long\def\@makefntext##1{\parindent 1em\noindent
\hb@[email protected]{%
\hss\@textsuperscript{\normalfont\@thefnmark}}##1}%
\if@twocolumn
\ifnum \col@number=\@ne
\@maketitle
\else
\twocolumn[\@maketitle]%
\fi
\else
\newpage
\global\@topnum\z@ % Prevents figures from going at top of page.
\@maketitle
\fi
\thispagestyle{plain}\@thanks
\endgroup
\setcounter{footnote}{0}%
\global\let\thanks\relax
\global\let\maketitle\relax
\global\let\@maketitle\relax
\global\let\@thanks\@empty
\global\let\@author\@empty
\global\let\@date\@empty
\global\let\@title\@empty
\global\let\title\relax
\global\let\author\relax
\global\let\date\relax
\global\let\and\relax
}
\def\@maketitle{%
\newpage
\null
\vskip 2em%
\begin{center}%
\let \footnote \thanks
{\LARGE \@title \par}%
\vskip 1.5em%
{\large
\lineskip .5em%
\begin{tabular}[t]{c}%
\@author
\end{tabular}\par}%
\vskip 1em%
{\large \@date}%
\end{center}%
\par
\vskip 1.5em}
\fi
\newcommand*\chaptermark[1]{}
\setcounter{secnumdepth}{3}
\newcounter {part}
\newcounter {chapter}
\newcounter {section}[chapter]
\newcounter {subsection}[section]
\newcounter {subsubsection}[subsection]
\newcounter {paragraph}[subsubsection]
\newcounter {subparagraph}[paragraph]
\renewcommand \thepart {\@Roman\c@part}
\renewcommand \thechapter {\@arabic\c@chapter}
\renewcommand \thesection {\thechapter.\@arabic\c@section}
\renewcommand\thesubsection {\thesection.\@arabic\c@subsection}
\renewcommand\thesubsubsection{\thesubsection.\@arabic\c@subsubsection}
\renewcommand\theparagraph {\thesubsubsection.\@arabic\c@paragraph}
\renewcommand\thesubparagraph {\theparagraph.\@arabic\c@subparagraph}
\newcommand{\frontmatter}{\pagestyle{empty}\onehalfspacing}
\newcommand{\mainmatter}{\pagestyle{UERJ}\onehalfspacing}
\newcommand{\backmatter}{\onehalfspacing}
\newcommand\@chapapp{\chaptername}
\newcommand\part{%
\if@openright
\cleardoublepage
\else
\clearpage
\fi
\thispagestyle{UERJ}%
\if@twocolumn
\onecolumn
\@tempswatrue
\else
\@tempswafalse
\fi
\null\vfil
\secdef\@part\@spart}
\def\@part[#1]#2{%
\ifnum \c@secnumdepth >-2\relax
\refstepcounter{part}%
\addcontentsline{toc}{part}{\thepart\hspace{1em}#1}%
\else
\addcontentsline{toc}{part}{#1}%
\fi
\markboth{}{}%
{\centering
\interlinepenalty \@M
\normalfont
\ifnum \c@secnumdepth >-2\relax
\huge\bfseries \partname\nobreakspace\thepart
\par
\vskip 20\p@
\fi
\Huge \bfseries #2\par}%
\@endpart}
\def\@spart#1{%
{\centering
\interlinepenalty \@M
\normalfont
\Huge \bfseries #1\par}%
\@endpart}
\def\@endpart{\vfil\newpage
\if@twoside
\if@openright
\null
\thispagestyle{empty}%
\newpage
\fi
\fi
\if@tempswa
\twocolumn
\fi}
\newlength\aboveptchapterskip
\newlength\belowptchapterskip
\setlength\aboveptchapterskip{-2.1\baselineskip}
\setlength\belowptchapterskip{2.5\baselineskip}
\newcommand\pretextualchapter{
\if@openright\cleardoublepage\else\clearpage\fi
\thispagestyle{empty}%
\global\@topnum\z@
\@afterindentfalse
\@ptchapter}
\def\@ptchapter#1{
\if@twocolumn
\@topnewpage[\@makeptchapterhead{#1}]%
\else
\@makeptchapterhead{#1}%
\@afterheading
\fi}
\def\@makeptchapterhead#1{%
\vspace*{\aboveptchapterskip} % espaco antes do titulo
{\parindent \z@ \normalfont % \raggedright % alinhado pela esquerda
%\interlinepenalty\@M
\center{\MakeUppercase{\textbf{#1}}} % estilo do titulo
\normalfont % estilo do texto apos o titulo
\vskip \belowptchapterskip % espaco apos o titulo
}}
\newlength\abovechapterskip
\newlength\belowchapterskip
\setlength{\abovechapterskip}{-1.2\baselineskip}
\setlength{\belowchapterskip}{2.5\baselineskip}
\newcommand\chapter{
\if@openright\cleardoublepage\else\clearpage\fi
\thispagestyle{UERJ}%
\global\@topnum\z@
\@afterindentfalse
\secdef\@chapter\@schapter}
\def\@chapter[#1]#2{
\ifnum \c@secnumdepth >\m@ne
\refstepcounter{chapter}\typeout{\@chapapp\space\thechapter.}%
{
\addcontentsline{toc}{chapter}
{\normalfont\nobreak
{\protect\numberline{\thechapter}}\nobreak
{\bf\noexpand\uppercase{#1}}
}
}
\else
\addcontentsline{toc}{chapter}
{\normalfont\nobreak
{\protect\numberline{}}\nobreak
{\noexpand\uppercase{#1}}
}
\fi
\chaptermark{#1}%
\if@twocolumn
\@topnewpage[\@makechapterhead{#2}]%
\else
\@makechapterhead{#2}%
\@afterheading
\fi}
\def\@makechapterhead#1{%
\vspace*{\abovechapterskip} % espaco antes do titulo
{\parindent \z@ \raggedright \normalfont % alinhado pela esquerda
\ifnum \c@secnumdepth >\m@ne
\textbf{\thechapter}\space\space % estilo da numeracao do titulo
\fi
%\interlinepenalty\@M
\MakeUppercase{\textbf{#1}} % estilo do titulo
\normalfont % estilo do texto apos o titulo
\vskip \belowchapterskip % espaco apos o titulo
}}
\def\@schapter#1{
\phantomsection
\addcontentsline{toc}{chapter}
{\normalfont\protect\numberline{}\nobreak
{\bf\uppercase{#1}}
}
\if@twocolumn
\@topnewpage[\@makeschapterhead{#1}]%
\else
\@makeschapterhead{#1}%
\@afterheading
\fi}
\def\@makeschapterhead#1{%
\vspace*{\abovechapterskip} % espaco antes do titulo
{\parindent \z@ \raggedright \normalfont % alinha pela esquerda
%\interlinepenalty\@M
\MakeUppercase{\textbf{#1}} % estilo do titulo
\normalfont % estilo do texto apos o titulo
\vskip \belowchapterskip % espaco apos o titulo
}}
\newcommand\postextualchapter{
\if@openright\cleardoublepage\else\clearpage\fi
\thispagestyle{UERJ}%
\global\@topnum\z@
\@afterindentfalse
\secdef\@pstchapter\@spstchapter}
\def\@pstchapter[#1]#2{
\ifnum \c@secnumdepth >\m@ne
\refstepcounter{chapter}\typeout{\@chapapp\space\thechapter.}%
\phantomsection\addcontentsline{toc}{chapter}
{\normalfont\nobreak
{\protect\numberline{}}\nobreak
{\bf\uppercase{\@chapapp}\space\thechapter}\nobreak
{\normalfont{\space\space--\space\space#1}}
}
\else
\addcontentsline{toc}{chapter}
{\normalfont\nobreak
{\protect\numberline{}}\nobreak
{\uppercase{#1}}
}
\fi
\chaptermark{#1}%
\if@twocolumn
\@topnewpage[\@makepstchapterhead{#1}]%
\else
\@makepstchapterhead{#1}%
\@afterheading
\fi}
\def\@makepstchapterhead#1{%
\vspace*{\abovechapterskip} % espaco antes do titulo
{\parindent \z@ \raggedright \normalfont % alinhado pela esquerda
\MakeUppercase{\textbf{\@chapapp\space\thechapter}} % estilo da numeracao do titulo
%\interlinepenalty\@M
-- #1
\normalfont % estilo do texto apos o titulo
\vskip \belowchapterskip % espaco apos o titulo
}}
\def\@spstchapter#1{
\phantomsection
\addcontentsline{toc}{chapter}
{\normalfont\protect\numberline{}\nobreak
{\bf\uppercase{#1}}
}
\if@twocolumn
\@topnewpage[\@makespstchapterhead{#1}]%
\else
\@makespstchapterhead{#1}%
\@afterheading
\fi}
\def\@makespstchapterhead#1{%
\vspace*{\aboveptchapterskip} % espaco antes do titulo
{\parindent \z@ \normalfont % \raggedright % alinhado pela esquerda
%\interlinepenalty\@M
\center{\MakeUppercase{\textbf{#1}}} % estilo do titulo
\normalfont % estilo do texto apos o titulo
\vskip \belowptchapterskip % espaco apos o titulo
}}
\newboolean{appendixannex}
\setboolean{appendixannex}{false}
\newcommand\section{\@startsection {section}{1}{\z@}% #1 #2 #3
{-2\baselineskip}% #4
{\baselineskip}% #5
{\protect\normalfont\protect\normalsize\bfseries}}%#6
\newcommand\subsection{\@startsection{subsection}{2}{\z@}%
{-2\baselineskip}%
{\baselineskip}%
{\protect\normalfont\protect\normalsize
\noexpand\uline}}
\newcommand\subsubsection{\@startsection{subsubsection}{3}{\z@}%
{-2\baselineskip}%
{\baselineskip}%
{\protect\normalfont\protect\normalsize}}
\newcommand\paragraph{\@startsection{paragraph}{4}{\z@}%
{-2\baselineskip}%
{\baselineskip}%
{\protect\normalfont\protect\normalsize}}
\newcommand\subparagraph{\@startsection{subparagraph}{5}{\parindent}%
{-2\baselineskip}%
{\baselineskip}%
{\protect\normalfont\protect\normalsize}}
\newlength{\seclength}
\renewcommand{\@seccntformat}[1]{%\fbox
{\csname the#1\endcsname}\space
}
\def\@sect#1#2#3#4#5#6[#7]#8{%
\ifnum #2>\c@secnumdepth
\let\@svsec\@empty
\else
\refstepcounter{#1}%
\protected@edef\@svsec{\@seccntformat{#1}\relax}%
\fi
\@tempskipa #5\relax
\ifdim \@tempskipa>\z@
\phantomsection
\begingroup\relax
\@hangfrom{\hskip #3\relax\@svsec}
\interlinepenalty\@M
\settowidth{\seclength}{\@seccntformat{#1}}
\ifnum #2=2 %\fbox
{\parbox[t]{\textwidth-\seclength-1em}
{\raggedright#6\uline{#8}}} % solucao temporaria para \uline(?!?!)
\else %\fbox
{\parbox[t]{\textwidth-\seclength-1em}
{\raggedright#6{#8}}}
\fi
\endgroup
\ifthenelse{\boolean{appendixannex}}{}{
\addcontentsline{toc}{#1}{%
\ifnum #2>\c@secnumdepth
\else \protect\numberline{\csname the#1\endcsname}\fi#6{#7}}%
}
\else
\def\@svsechd{%
#6{\hskip #3\relax
\@svsec {#8}
}%
\ifthenelse{\boolean{appendixannex}}{}{
\addcontentsline{toc}{#1}{%
\ifnum #2>\c@secnumdepth \else
\protect\numberline{\csname the#1\endcsname}%
\fi
#7}
}
}%
\fi
\@xsect{#5}}
\newcommand\appendix{
\setcounter{chapter}{0}%
\setcounter{section}{0}%
\setboolean{appendixannex}{true}
\gdef\@chapapp{\appendixname}%
\gdef\thechapter{\@Alph\c@chapter}}
\newcommand\annex{
\setcounter{chapter}{0}%
\setcounter{section}{0}%
\setboolean{appendixannex}{true}
\gdef\@chapapp{\annexname}%
\gdef\thechapter{\@Alph\c@chapter}}
\if@twocolumn
\setlength\leftmargini {2em}
\else
\setlength\leftmargini {2.5em}
\fi
\leftmargin \leftmargini
\setlength\leftmarginii {2.2em}
\setlength\leftmarginiii {1.87em}
\setlength\leftmarginiv {1.7em}
\if@twocolumn
\setlength\leftmarginv {.5em}
\setlength\leftmarginvi {.5em}
\else
\setlength\leftmarginv {1em}
\setlength\leftmarginvi {1em}
\fi
\setlength \labelsep {.5em}
\setlength \labelwidth{\leftmargini}
\addtolength\labelwidth{-\labelsep}
\@beginparpenalty -\@lowpenalty
\@endparpenalty -\@lowpenalty
\@itempenalty -\@lowpenalty
\renewcommand\theenumi{\@arabic\c@enumi}
\renewcommand\theenumii{\@alph\c@enumii}
\renewcommand\theenumiii{\@roman\c@enumiii}
\renewcommand\theenumiv{\@Alph\c@enumiv}
\newcommand\labelenumi{\theenumi.}
\newcommand\labelenumii{(\theenumii)}
\newcommand\labelenumiii{\theenumiii.}
\newcommand\labelenumiv{\theenumiv.}
\renewcommand\p@enumii{\theenumi}
\renewcommand\p@enumiii{\theenumi(\theenumii)}
\renewcommand\p@enumiv{\p@enumiii\theenumiii}
\newcommand\labelitemi{\textbullet}
\newcommand\labelitemii{\normalfont\bfseries \textendash}
\newcommand\labelitemiii{\textasteriskcentered}
\newcommand\labelitemiv{\textperiodcentered}
\newenvironment{description}
{\list{}{\labelwidth\z@ \itemindent-\leftmargin
\let\makelabel\descriptionlabel}}
{\endlist}
\newcommand*\descriptionlabel[1]{\hspace\labelsep
\normalfont\bfseries #1}
\if@titlepage
\newenvironment{abstract}{%
\titlepage
\null\vfil
\@beginparpenalty\@lowpenalty
\begin{center}%
\bfseries \abstractname
\@endparpenalty\@M
\end{center}}%
{\par\vfil\null\endtitlepage}
\else
\newenvironment{abstract}{%
\if@twocolumn
\section*{\abstractname}%
\else
\small
\begin{center}%
{\bfseries \abstractname\vspace{-.5em}\vspace{\z@}}%
\end{center}%
\quotation
\fi}
{\if@twocolumn\else\endquotation\fi}
\fi
\newenvironment{verse}
{\let\\\@centercr
\list{}{\itemsep \z@
\itemindent -1.5em%
\listparindent\itemindent
\rightmargin \leftmargin
\advance\leftmargin 1.5em}%
\item\relax}
{\endlist}
\newenvironment{quotation}
{\list{}{\listparindent 1.5em%
\itemindent \listparindent
\rightmargin \leftmargin
\parsep \z@ \@plus\p@}%
\item\relax}
{\endlist}
\newenvironment{quote}
{\list{}{\rightmargin\leftmargin}%
\item\relax}
{\endlist}
\if@compatibility
\newenvironment{titlepage}
{%
\if@twocolumn
\@restonecoltrue\onecolumn
\else
\@restonecolfalse\newpage
\fi
\thispagestyle{empty}%
\setcounter{page}\z@
}%
{\if@restonecol\twocolumn \else \newpage \fi
}
\else
\newenvironment{titlepage}
{%
\if@twocolumn
\@restonecoltrue\onecolumn
\else
\@restonecolfalse\newpage
\fi
\thispagestyle{empty}%
\setcounter{page}\@ne
}%
{\if@restonecol\twocolumn \else \newpage \fi
\if@twoside\else
\setcounter{page}\@ne
\fi
}
\fi
\DeclareOldFontCommand{\rm}{\normalfont\rmfamily}{\mathrm}
\DeclareOldFontCommand{\sf}{\normalfont\sffamily}{\mathsf}
\DeclareOldFontCommand{\tt}{\normalfont\ttfamily}{\mathtt}
\DeclareOldFontCommand{\bf}{\normalfont\bfseries}{\mathbf}
\DeclareOldFontCommand{\it}{\normalfont\itshape}{\mathit}
\DeclareOldFontCommand{\sl}{\normalfont\slshape}{\@nomath\sl}
\DeclareOldFontCommand{\sc}{\normalfont\scshape}{\@nomath\sc}
\DeclareRobustCommand*\cal{\@fontswitch\relax\mathcal}
\DeclareRobustCommand*\mit{\@fontswitch\relax\mathnormal}
\setlength\arraycolsep{5\p@}
\setlength\tabcolsep{6\p@}
\setlength\arrayrulewidth{.4\p@}
\setlength\doublerulesep{2\p@}
\setlength\tabbingsep{\labelsep}
\setlength\fboxsep{3\p@}
\setlength\fboxrule{.4\p@}
\renewcommand\theequation {\@arabic\c@equation}
\newcounter{figure}
\renewcommand \thefigure {\@arabic\c@figure}
\def\fps@figure{tbp}
\def\ftype@figure{1}
\def\ext@figure{lof}
\def\fnum@figure{\figurename\nobreakspace\thefigure}
\newenvironment{figure}[2][]
{\@float{figure}\begin{center}\begin{minipage}{#2}\begin{center}}
{\end{center}\end{minipage}\end{center}\end@float}
\newenvironment{figure*}
{\@dblfloat{figure}}
{\end@dblfloat}
\newcounter{table}
\renewcommand \thetable {\@arabic\c@table}
\def\fps@table{tbp}
\def\ftype@table{2}
\def\ext@table{lot}
\def\fnum@table{\tablename\nobreakspace\thetable}
\newenvironment{table}[2][]
{\@float{table}\begin{center}\begin{minipage}{#2}\begin{center}}
{\end{center}\end{minipage}\end{center}\end@float}
\newenvironment{table*}
{\@dblfloat{table}}
{\end@dblfloat}
\DeclareCaptionLabelSeparator{dash}{ - }
\DeclareCaptionTextFormat{capfmt}{#1}
\DeclareCaptionStyle{uerj}{
format=hang,
textformat=capfmt,
labelsep=dash,
justification=raggedright,
singlelinecheck=false,
font={small,onehalfspacing},
position=top,
skip=10pt % espaco entre caption e figura
}
\captionsetup{style=uerj}
\DeclareCaptionListFormat{figurefmt}{\figurename\hfill#2 - }
\captionsetup[figure]{listformat=figurefmt}
\DeclareCaptionListFormat{tablefmt}{\tablename\hfill#2 - }
\captionsetup[table]{listformat=tablefmt}
% \captionsetup[subfloat]{margin=1ex,
% position=bottom,
% nearskip=5pt, % mais espaco entre caption e figura
% farskip=5pt, % espaco abaixo do subcaption
% captionskip=5pt}
\DeclareCaptionLabelFormat{legendfmt}{\legendname}
\DeclareCaptionStyle{legend}{
format=hang,
font={small,onehalfspacing},
labelformat=legendfmt,
labelsep=colon,
justification=raggedright,
position=bottom,
aboveskip=12pt, % espaco acima da legenda
singlelinecheck=false,
list=no
}
\newcommand{\legend}[1]{
\captionsetup{style=legend}
% \@captype vem do pacote caption
% traz o contador que esta sendo usado
\addtocounter\@captype\m@ne\caption{#1}
}
\DeclareCaptionLabelFormat{sourcefmt}{\sourcename}
\DeclareCaptionStyle{source}{
format=hang,
labelformat=sourcefmt,
labelsep=colon,
position=bottom,
aboveskip=0pt, % espaco acima da fonte
justification=raggedright,
singlelinecheck=false,
font={small,onehalfspacing},
list=no
}
\newcommand{\source}[1]{
\captionsetup{style=source}
% \@captype vem do pacote caption
% traz o contador que esta sendo usado
\addtocounter\@captype\m@ne\caption{#1}
}
\newcommand\@pnumwidth{1.55em}
\newcommand\@tocrmarg{2.55em}
\newcommand\@dotsep{4.5}
\newcommand*\l@part[2]{%
\ifnum \c@tocdepth >-2\relax
\addpenalty{-\@highpenalty}%
\addvspace{2.25em \@plus\p@}%
\setlength\@tempdima{3em}%
\begingroup
\parindent \z@ \rightskip \@pnumwidth
\parfillskip -\@pnumwidth
{\leavevmode
\large \bfseries #1\hfil \hb@xt@\@pnumwidth{\hss #2}}\par
\nobreak
\global\@nobreaktrue
\everypar{\global\@nobreakfalse\everypar{}}%
\endgroup
\fi}
\newcommand*\l@chapter{\@dottedtocline{0}{0em}{4.1em}}
\newcommand*\l@section{\@dottedtocline{1}{0em}{4.1em}}
\newcommand*\l@subsection{\@dottedtocline{2}{0em}{4.1em}}
\newcommand*\l@subsubsection{\@dottedtocline{3}{0em}{4.1em}}
\newcommand*\l@paragraph{\@dottedtocline{4}{0em}{5em}}
\newcommand*\l@subparagraph{\@dottedtocline{5}{0em}{6em}}
\newcommand*\l@figure{\@dottedtocline{0}{0em}{5.5em}}
\newcommand*\l@table{\@dottedtocline{0}{0em}{5.5em}}
\setcounter{tocdepth}{3}
\newcommand\tableofcontents{%
\if@twocolumn
\@restonecoltrue\onecolumn
\else
\@restonecolfalse
\fi
\pretextualchapter{\contentsname}%
\@starttoc{toc}%
\if@restonecol\twocolumn\fi
\cleardoublepage
}
\newcommand\listoffigures{%
\if@twocolumn
\@restonecoltrue\onecolumn
\else
\@restonecolfalse
\fi
\pretextualchapter{\listfigurename}%
\@starttoc{lof}%
\if@restonecol\twocolumn\fi
}
\newcommand\listoftables{%
\if@twocolumn
\@restonecoltrue\onecolumn
\else
\@restonecolfalse
\fi
\pretextualchapter{\listtablename}%
\@starttoc{lot}%
\if@restonecol\twocolumn\fi
}
\newdimen\bibindent
\setlength\bibindent{1.5em}
\newenvironment{thebibliography}[1] {
\postextualchapter*{\bibname}%
\list{\@biblabel{\@arabic\c@enumiv}}%
{\settowidth\labelwidth{\@biblabel{#1}}%
\leftmargin\labelwidth
\advance\leftmargin\labelsep
\@openbib@code
\usecounter{enumiv}%
\let\p@enumiv\@empty
\renewcommand\theenumiv{\@arabic\c@enumiv}}%
\sloppy
\clubpenalty4000
\@clubpenalty \clubpenalty
\widowpenalty4000%
\sfcode`\.\@m
}{
\def\@noitemerr
{\@latex@warning{Empty `thebibliography' environment}}%
\endlist
}
\newcommand\newblock{\hskip .11em\@plus.33em\@minus.07em}
\let\@openbib@code\@empty
\newenvironment{theindex}{
\if@twocolumn
\@restonecolfalse
\else
\@restonecoltrue
\fi
\twocolumn[\phantomsection \vskip -\abovechapterskip
\@makespstchapterhead{\indexname}]%
\addcontentsline{toc}{chapter}
{\normalfont\protect\numberline{}\nobreak
{\bf\uppercase{\indexname}}
}%
\@mkboth{\MakeUppercase\indexname}{\MakeUppercase\indexname}%
\thispagestyle{UERJ}\singlespacing
\parindent\z@
\parskip\z@ \@plus .3\p@\relax
\columnseprule \z@
\columnsep 35\p@
\let\item\@idxitem
}
{
\if@restonecol\onecolumn\else\clearpage\fi
}
\newcommand\@idxitem{\par\hangindent 40\p@}
\newcommand\subitem{\@idxitem \hspace*{20\p@}}
\newcommand\subsubitem{\@idxitem \hspace*{30\p@}}
\newcommand\indexspace{\par \vskip 10\p@ \@plus5\p@ \@minus3\p@\relax}
% espaco entre a ultima linha de texto e o traco da nota de rodape
\setlength{\skip\footins}{3\baselineskip}
\skip\@mpfootins = \skip\footins
\renewcommand\footnotesep{1.0\baselineskip}
\renewcommand\footnoterule{%
\vspace*{0pt}
\hrule\@width 10cm
\vspace*{0pt}}
\newcommand\@makefntext[1]{%
\parindent 1em%
\noindent
\makebox[0.8em][r]{\@makefnmark}\hspace{0.3em}\parbox[t]{\hsize-1.1em}{#1}}
% ------------------------------------------------------------------------
% ------------------------------------------------------------------------
% ---
% Espacamentos entre linhas e paragrafos
% ---
% O tamanho do paragrafo eh dado por:
\setlength{\parindent}{1.25cm}
% ---
% Controle do espacamento entre um paragrafo e outro:
\setlength{\parskip}{0cm}
% ---
% Controle do espacamento entre paragrafos dentro de um item:
\setlength{\parsep}{0cm}
% ---
% Controle do espacamento entre um item e outro:
\setlength{\itemsep}{0cm}
% ---
% ------------------------------------------------------------------------
% ------------------------------------------------------------------------
\newcommand\contentsname{Contents}
\newcommand\listfigurename{List of Figures}
\newcommand\listtablename{List of Tables}
\newcommand\bibname{Bibliography}
\newcommand\indexname{Index}
\newcommand\figurename{Figure}
\newcommand\legendname{Legend}
\newcommand\sourcename{Source}
\newcommand\tablename{Table}
\newcommand\partname{Part}
\newcommand\chaptername{Chapter}
\newcommand\appendixname{Appendix}
\newcommand\annexname{Annex}
\newcommand\abstractname{Abstract}
\def\today{\ifcase\month\or
January\or February\or March\or April\or May\or June\or
July\or August\or September\or October\or November\or December\fi
\space\number\day, \number\year}
\setlength\columnsep{10\p@}
\setlength\columnseprule{0\p@}
\pagestyle{plain}
\pagenumbering{arabic}
\if@twoside
\else
\raggedbottom
\fi
\if@twocolumn
\twocolumn
\sloppy
\flushbottom
\else
\onecolumn
\fi
\endinput
%%
%% End of file.
repUERJformat.sty · 26 KB
\NeedsTeXFormat{LaTeX2e}
% desenvolvido por Prof. Luis Fernando de Oliveira IF/UERJ
\ProvidesPackage{repUERJformat}[2015/14/12 v8.0 repUERJformat.sty]
\RequirePackage{ifthen}
\RequirePackage{enumitem}
\RequirePackage{calc}
\RequirePackage{pifont}
\RequirePackage{keyval}
\RequirePackage{lastpage}
% pacotes uteis para diagramacao da pagina
\RequirePackage{geometry}
\RequirePackage{eso-pic}
%\RequirePackage[noframe]{showframe}
\RequirePackage{amsmath}
%\setlength{\mathindent}{\parindent}
\setlength{\mathindent}{0pt}
% ------------------------------------------------------------------------
% ------------------------------------------------------------------------
\newboolean{UERJshowframe}
\setboolean{UERJshowframe}{false}
\DeclareOption{frame=yes} {\setboolean{UERJshowframe}{true}}
\DeclareOption{frame=no} {\setboolean{UERJshowframe}{false}}
\newboolean{flaga}\setboolean{flaga}{false}
\newboolean{flagb}\setboolean{flagb}{false}
\DeclareOption{font=times} {\setboolean{flaga}{true}\setboolean{flagb}{false}}
\DeclareOption{font=sans} {\setboolean{flaga}{false}\setboolean{flagb}{true}}
\DeclareOption{font=default} {\setboolean{flaga}{false}\setboolean{flagb}{false}}
\DeclareOption{font=lmodern} {\setboolean{flaga}{true}\setboolean{flagb}{true}}
\ProcessOptions
% ------------------------------------------------------------------------
% ------------------------------------------------------------------------
\ifthenelse{\boolean{flaga}\and\not\boolean{flagb}}
{
\RequirePackage{mathptmx}
\RequirePackage[T1]{fontenc}
\renewcommand*{\rmdefault}{ptm}
}
{
\ifthenelse{\not\boolean{flaga}\and\boolean{flagb}} %
{
\RequirePackage[scaled=0.9]{helvet}
\RequirePackage[T1]{fontenc}
\renewcommand{\familydefault}{\sfdefault}
}
{
\ifthenelse{\boolean{flaga}\and\boolean{flagb}} %
{
\RequirePackage{lmodern}
\RequirePackage[T1]{fontenc}
\renewcommand{\familydefault}{\sfdefault}
}
{
}
}
}
% ------------------------------------------------------------------------
% ------------------------------------------------------------------------
\ifthenelse{\boolean{UERJshowframe}}
{\geometry{showframe=true}}{\geometry{showframe=false}}
\setkeys{ESO}{colorgrid=true}
\gridSetup[mm]{1.266mm}{1.266}{5}{20}{1}
% ------------------------------------------------------------------------
% ------------------------------------------------------------------------
\RequirePackage[brazil]{babel}
\addto\captionsbrazil{%
\renewcommand\contentsname{Sum\'ario}
\renewcommand{\listfigurename}{Lista de ilustra\c{c}\~{o}es}
\renewcommand{\listtablename}{Lista de tabelas}
\renewcommand\bibname{Refer\^encias}
\renewcommand\indexname{\'Indice de assuntos}
\renewcommand\figurename{Figura}
\renewcommand\legendname{Legenda}
\renewcommand\sourcename{Fonte}
\renewcommand\tablename{Tabela}
\renewcommand\partname{}
\renewcommand\chaptername{}
\renewcommand\appendixname{Ap\^endice}
\renewcommand\annexname{Anexo}
\renewcommand\abstractname{Abstract}
}
\newcommand{\abrevnome}{Lista de abreviaturas e siglas}
\newcommand{\simbnome}{Lista de s\'imbolos}
\newcommand{\dedicatorianome}{Dedicat\'oria}
\newcommand{\agradecimentosnome}{Agradecimentos}
\newcommand{\orientadornome}{Orientador}
\newcommand{\coorientadornome}{Coorientador}
\newcommand{\resumonome}{Resumo}
\newcommand{\glossarionome}{Gloss\'ario}
% ------------------------------------------------------------------------
% ------------------------------------------------------------------------
\newcommand{\ifnotempty}[2]
{
\ifthenelse{\not\equal{#1}{}}
{#2}
{}
}
\newcommand{\ifempty}[2]
{
\ifthenelse{\equal{#1}{}}
{#2}
{}
}
% ------------------------------------------------------------------------
% ------------------------------------------------------------------------
% Comandos de dados
% ------------------------------------------------------------------------
% ------------------------------------------------------------------------
% ---
% Comandos de dados - logo da UERJ
% ---
\newcommand{\logo}[1] {%
\newcommand{\UERJlogo}{#1}
}
% ---
% ---
% Comandos de dados - marca d'agua da folha de rosto
% ---
\newcommand{\marcadagua}[4] {%
\newcommand{\UERJmarcadagua}{#1}
\newcommand{\imgscale}{#2}
\newcommand{\imgposX}{#3}
\newcommand{\imgposY}{#4}
}
% ---
% ---
% Comandos de dados - total de paginas do documento
% ---
\newcommand{\UERJpaginas}{\pageref{LastPage}}
% ---
% ---
% Comandos de dados - t\'itulo do documento
% ---
\providecommand{\UERJtitulo}{}
\newcommand{\titulo}[1]{
\renewcommand{\UERJtitulo}{#1}
}
\newcommand{\UERJtitle}{}
\renewcommand{\title}[1]{
\renewcommand{\UERJtitle}{#1}
}
\newcommand{\chaveA}{}
\newcommand{\chaveB}{}
\newcommand{\chaveC}{}
\newcommand{\chaveD}{}
\newcommand{\palavraschaves}[4]{
\renewcommand{\chaveA}{#1;}
\renewcommand{\chaveB}{#2;}
\renewcommand{\chaveC}{#3;}
\ifnotempty{#4}{\renewcommand{\chaveD}{#4.}}
}
\newcommand{\keyA}{}
\newcommand{\keyB}{}
\newcommand{\keyC}{}
\newcommand{\keyD}{}
\newcommand{\keywords}[4]{
\renewcommand{\keyA}{#1;}
\renewcommand{\keyB}{#2;}
\renewcommand{\keyC}{#3;}
\ifnotempty{#4}{\renewcommand{\keyD}{#4.}}
}
% ---
% ---
% Comandos de dados - autor (use \and para multiplos autores)
% ---
\providecommand{\UERJautor}{}
\newcommand{\autor}[3]{
\author{#1 #2}
\newcommand{\UERJautornome}{#1}
\newcommand{\UERJautornomeabvr}{#3}
\newcommand{\UERJautorsobrenome}{#2}
\renewcommand{\UERJautor}{\UERJautornome\ \UERJautorsobrenome}
}
% ---
% ---
% Comandos de dados - local
% ---
\providecommand{\UERJlocal}{}
\newcommand{\local}[1]{
\renewcommand{\UERJlocal}{#1}
}
% ---
% ---
% Comandos de dados - data
% ---
\providecommand{\UERJdata}{}
\newcommand{\data}[3]{
\date{#1}
\newcommand{\UERJdia}{#1}
\newcommand{\UERJmes}{#2}
\newcommand{\UERJano}{#3}
\renewcommand{\UERJdata}{\UERJano}
}
% ---
% ---
% Comandos de dados - instituicao
% ---
\providecommand{\UERJinstituicao}{}
\newcommand{\instituicao}[4]{
\newcommand{\UERJnome}{#1}
\newcommand{\UERJcentro}{#2}
\newcommand{\UERJunidade}{#3}
\newcommand{\UERJunidadenome}{}
\ifnotempty{#4}{\renewcommand{\UERJunidadenome}{ #4}}
\renewcommand{\UERJinstituicao}{
\textbf{\UERJnome}\par\UERJcentro\par\UERJunidade{\UERJunidadenome}
}
}
% ---
% ---
% Comandos de dados - tipo de trabalho
% ---
\newcommand{\UERJtitulacao}{}
\newcommand{\UERJgrau}{}
\newcommand{\UERJdocumento}{}
\newcommand{\UERJposgraduacao}{}
% ---
\newcommand{\curso}[1]{
\newcommand{\UERJcurso}{#1}
}
% ---
\newcommand{\presented}{apresentada}
% ---
\newcommand{\grau}[1]{
\ifthenelse{\equal{#1}{Mestre}}{
\renewcommand{\UERJtitulacao}{Mestre em Ciências}
\renewcommand{\UERJgrau}{Mestrado}
\renewcommand{\UERJdocumento}{Disserta\c{c}\~ao}
\renewcommand{\UERJposgraduacao}
{Programa de P\'os-Gradua\c{c}\~ao em \UERJcurso}
}{\ifthenelse{\equal{#1}{Doutor}}{
\renewcommand{\UERJtitulacao}{Doutor em Ciências}
\renewcommand{\UERJgrau}{Doutorado}
\renewcommand{\UERJdocumento}{Tese}
\renewcommand{\UERJposgraduacao}
{Programa de P\'os-Gradua\c{c}\~ao em \UERJcurso}
}{\ifthenelse{\equal{#1}{Bacharel}}{
\renewcommand{\UERJtitulacao}{Bacharel em \UERJcurso}
\renewcommand{\UERJgrau}{Bacharelado}
\renewcommand{\UERJdocumento}{Monografia}
\renewcommand{\UERJposgraduacao}{\UERJunidade{\UERJunidadenome}}
}{\ifthenelse{\equal{#1}{Licenciado}}{
\renewcommand{\UERJtitulacao}{Licenciado}
\renewcommand{\UERJgrau}{Licenciatura}
\renewcommand{\UERJdocumento}{Monografia}
\renewcommand{\UERJposgraduacao}{\UERJunidade{\UERJunidadenome}}
}{
\renewcommand{\UERJtitulacao}{\grauTitulo}
\renewcommand{\UERJgrau}{Gradua\c{c}\~ao}
\renewcommand{\UERJdocumento}{Trabalho de Conclus\~ao de Curso}
\renewcommand{\UERJposgraduacao}{\UERJunidade{\UERJunidadenome}}
\renewcommand{\presented}{apresentado}
}
}
}
}
}
% ---
% ---
% Comandos de dados - preambulo
% ---
\providecommand{\UERJconcentracao}{}
\newcommand{\areadeconcentracao}[1]{
\ifnotempty{#1}{\renewcommand{\UERJconcentracao}{\'Area de concentra\c{c}\~ao: #1.}}
}
% ---
\providecommand{\UERJpreambulo}{}
\newcommand{\preambulo}[1]{
\renewcommand{\UERJpreambulo}{\singlespacing{#1}}
}
% --- modelo documento UERJ (novo)
\preambulo{\UERJdocumento\ \presented, como requisito parcial para obten\c{c}\~ao do t\'itulo de \UERJtitulacao, \artigo{} \UERJposgraduacao, da \UERJnome. \UERJconcentracao}
% ---
% ---
% Comandos de dados - cabecalho do resumo
% ---
\providecommand{\referencia}{}
\newcommand{\cabecalho}[1]{
\renewcommand{\referencia}{\singlespacing\begin{flushleft}#1\end{flushleft}\vspace*{0.5\baselineskip}}
}
% ---
\cabecalho{\MakeUppercase{\UERJautorsobrenome}, \UERJautornome. \emph{\UERJtitulo}. \UERJano. \UERJpaginas\ f. \UERJdocumento\ (\UERJgrau\ em \UERJcurso) -- \UERJunidade, %\UERJunidadenome,
\UERJnome, \UERJlocal, \UERJano.}
% ---
\newlength{\hanglength}
\newcommand{\imprimirchaves}{
\vspace{0.3\baselineskip}\onehalfspacing \settowidth{\hanglength}{Palavras-chave: }
\noindent Palavras-chave: \parbox[t]{\textwidth-\hanglength}{
\raggedright \chaveA\ \chaveB\ \chaveC\ \chaveD
}
}
% ---
% ---
% Comandos de dados - cabecalho do abstract
% ---
\providecommand{\reference}{}
\newcommand{\headertext}[1]{
\renewcommand{\reference}{\singlespacing\begin{flushleft}#1\end{flushleft}\vspace*{0.5\baselineskip}}
}
% ---
\headertext{\MakeUppercase{\UERJautorsobrenome}, \UERJautornome. \emph{\UERJtitle}. \UERJano. \UERJpaginas\ f. \UERJdocumento\ (\UERJgrau\ em \UERJcurso) -- \UERJunidade, %\UERJunidadenome,
\UERJnome, \UERJlocal, \UERJano.}
% ---
\newcommand{\printkeys}{
\vspace{0.3\baselineskip}\onehalfspacing \settowidth{\hanglength}{Keywords: }
\noindent Keywords: \parbox[t]{\textwidth-\hanglength}{
\raggedright \keyA\ \keyB\ \keyC\ \keyD\
}
}
% ---
% ---
% Comandos de dados - orientador
% ---
\providecommand{\UERJsurpevisor}{}
\providecommand{\UERJorientador}{}
\newcommand{\orientador}[5][\orientadornome]{
\renewcommand{\UERJsurpevisor}{#1}%
\newcommand{\UERJorientadortitulo}{#2}
\newcommand{\UERJorientadornome}{#3}
\newcommand{\UERJorientadorsobrenome}{#4}
\newcommand{\UERJorientadorinstituicao}{#5}
\renewcommand{\UERJorientador}
{\UERJorientadortitulo\ \UERJorientadornome\ \UERJorientadorsobrenome}
}
% ---
% ---
% Comandos de dados - coorientador
% ---
\providecommand{\UERJcosurpevisor}{}
\providecommand{\UERJcoorientador}{}
\newcommand{\coorientador}[5][\coorientadornome]{
\renewcommand{\UERJcosurpevisor}{#1}%
\newcommand{\UERJcoorientadortitulo}{#2}
\newcommand{\UERJcoorientadornome}{#3}
\newcommand{\UERJcoorientadorsobrenome}{#4}
\newcommand{\UERJcoorientadorinstituicao}{#5}
\renewcommand{\UERJcoorientador}
{\UERJcoorientadortitulo\ \UERJcoorientadornome\ \UERJcoorientadorsobrenome}
}
% ---
% ---
% comprimento do traco de assinatura e do texto abaixo dele
\newlength{\UERJsignwidth}
\setlength{\UERJsignwidth}{12.25cm}
% ---
% espessura do traco
\newlength{\UERJsignthickness}
\setlength{\UERJsignthickness}{1pt}
% ---
% espaco entre o traco de assinatura e o texto anterior
\newlength{\UERJsignskip}
\setlength{\UERJsignskip}{0.8cm}
% ---
% assinatura com traco
\newcommand{\UERJsign}[1]{%
\parbox[t]{\UERJsignwidth}{\singlespacing{
\vspace*{1.25\UERJsignskip}
\rule{\UERJsignwidth}{\UERJsignthickness}\par
\nopagebreak #1\par}
}
}
% ---
% assinatura sem traco
\newcommand{\UERJunsign}[1]{%
\parbox[t]{\UERJsignwidth}{\singlespacing{
\nopagebreak #1\par
\vspace*{\UERJsignskip}}
}
}
% ---
% assinatura com estrela
\newcommand{\UERJucsign}[2]%
{\par\hspace{1.5cm}\UERJunsign{#1\\ #2}}
% ---
% assinatura sem estrela
\newcommand{\UERJcsign}[2]%
{\begingroup\par\hspace{1.5cm}\UERJsign{#1\\ #2}\endgroup}
% ---
% ---
% Comando \assinatura
% ---
\makeatletter
\newcommand{\assinatura}{\@ifstar{\UERJucsign}{\UERJcsign}}
\makeatother
% ---
% ------------------------------------------------------------------------
% ------------------------------------------------------------------------
% Elemento pre-textual - Capa
% ------------------------------------------------------------------------
% ------------------------------------------------------------------------
\geometry{top=3cm, bottom=2cm, left=3cm, right=2cm}
% ------------------------------------------------------------------------
% ------------------------------------------------------------------------
% Elemento pre-textual - Capa
% ------------------------------------------------------------------------
% ------------------------------------------------------------------------
\newlength{\img}
\setlength{\img}{2.2cm}
\newcommand{\capa}{
\setcounter{page}{0}{
\centering\large
% \begin{onehalfspace}
{\parbox[c]{\img}{\includegraphics[width=\img]{\UERJlogo}}}
\hfill
{\parbox[t]{0.66\textwidth}{\centering{\large\UERJinstituicao\par}}}
\hfill
{\hspace{\img}}
\vfill\vfill
\UERJautor\par
\vfill\vfill
{\bfseries\MakeUppercase{\UERJtitulo}}\par
\vfill\vfill\vfill\vfill\vfill
\UERJlocal\\[0.3\baselineskip]
% \end{onehalfspace}
\UERJdata
\normalsize\cleardoublepage
}
}
% ------------------------------------------------------------------------
% ------------------------------------------------------------------------
% Elemento pre-textual - Folha de rosto
% ------------------------------------------------------------------------
% ------------------------------------------------------------------------
\makeatletter
\newcommand{\folhaderosto}{\@ifstar{\UERJfolhaderostoB}{\UERJfolhaderostoA}}
\newcommand{\UERJfolhaderostoA}{
\thispagestyle{empty}%
{
\centering
% \begin{onehalfspace}
\AddToShipoutPicture*{
\put(\imgposX,\imgposY){
\includegraphics[scale=\imgscale]{\UERJmarcadagua}
}
}
\UERJautor\par
\vfill\vfill
{\bfseries\MakeUppercase{\UERJtitulo}}\par
\vfill\vfill\vfill
\vspace{.8cm}
\hspace{.49\textwidth}
\begin{minipage}{.5\textwidth}
\UERJpreambulo
\end{minipage}%
\vfill\vfill\vfill\vfill\vfill
\UERJsurpevisor: \UERJorientador\par
\ifnotempty{\UERJcoorientador}{
{\UERJcosurpevisor: \UERJcoorientador}\par
}
\vfill\vfill\vfill
\UERJlocal\\[0.1\baselineskip]
% \end{onehalfspace}
\UERJdata
\cleardoublepage
}
}
\newcommand{\UERJfolhaderostoB}{
\thispagestyle{empty}%
{
\centering
% \begin{onehalfspace}
\AddToShipoutPicture*{
\put(\imgposX,\imgposY){
\includegraphics[scale=\imgscale]{\UERJmarcadagua}
}
}
\UERJautor\par
\vfill\vfill\vfill
{\bfseries\UERJtitulo}\par
\vfill\vfill\vfill\vfill\vfill
\vspace{.8cm}
\hspace{.49\textwidth}
\begin{minipage}{.5\textwidth}
\UERJpreambulo
\end{minipage}%
\vfill\vfill\vfill\vfill\vfill
\begin{center}
Autorizo a apresenta\c{c}\~ao
\vspace{1cm}
\hrule
\vspace{0.4cm}
\UERJsurpevisor: \UERJorientador\par
\end{center}
% \ifnotempty{\UERJcoorientador}{
% {\UERJcosurpevisor: \UERJcoorientador}\par
% }
\vfill\vfill\vfill
\UERJlocal\\[0.1\baselineskip]
% \end{onehalfspace}
\UERJdata
\cleardoublepage
}
}
\makeatother
% ------------------------------------------------------------------------
\newcommand{\fichacatalografica}[1]{
\newgeometry{top=3cm, bottom=2cm, left=2cm, right=3cm}
\addtocounter{page}{-1}
\ifthenelse{\not\equal{#1}{}}
{\includepdf[pages=1]{#1}}
{
\vspace*{\fill}
\begin{singlespace*}
\begin{center}
CATALOGA\c{C}\~AO NA FONTE\\
UERJ / REDE SIRIUS / BIBLIOTECA CTC/D
\end{center}
\footnotesize
\noindent\hspace*{\fill}
{
\parbox[t]{14.0cm}{
\hrule
\hspace*{0.25cm}\parbox[t]{2.0cm}{
\vspace*{\baselineskip}
D979
}
\parbox[t]{11.5cm}{
\vspace*{\baselineskip}
\UERJautorsobrenome, \UERJautornome
\hspace{0.5cm}\UERJtitulo\ / \UERJautor. --
\UERJlocal, \UERJdata-
\hspace{0.5cm}\UERJpaginas\ f.\\
\hspace{0.5cm}\UERJsurpevisor: \UERJorientador
\hspace{0.5cm}\UERJdocumento\ (\UERJgrau) -- \UERJnome,
\UERJunidade, \UERJposgraduacao, \UERJdata.\\
\hspace{0.5cm}
1. \chaveA.
2. \chaveB.
3. \chaveC.
I. \UERJorientador.
II. \UERJnome.
III. \UERJunidade.
IV. T\'itulo\\
\hspace{8.05cm}CDU 02:141:005.7\\
} % fim \parbox[t]{11.5cm}
\hrule
} % fim \parbox[t]{14.0cm}
}
\hspace*{\fill}
\end{singlespace*}
\vspace*{2.5cm}
\normalsize
\noindent Autorizo, apenas para fins acad\^emicos e cient\'ificos, a
reprodu\c{c}\~ao total ou parcial desta
\MakeLowercase{\UERJdocumento}, desde que citada a fonte.\\
\noindent\parbox[t]{0.5\textwidth}{
\hrule
\vspace*{0.4cm}
\centering{Assinatura}
}\hfill\parbox[t]{0.2\textwidth}{
\hrule
\vspace*{0.4cm}
\centering{Data}
}
\vspace*{1.5cm}
\cleardoublepage
}
\restoregeometry\onehalfspacing
}
% ------------------------------------------------------------------------
% ------------------------------------------------------------------------
% Elemento pre-textual - Folha de aprovacao
% ------------------------------------------------------------------------
% ------------------------------------------------------------------------
\newenvironment{folhadeaprovacao}{
\thispagestyle{empty}%
% \begin{onehalfspace}
{
\centering
\UERJautor\par
\vspace{1.0cm}
{\bfseries\MakeUppercase{\UERJtitulo}}\\
\vspace{1.0cm}
}
\noindent\hspace{.49\textwidth}
\begin{minipage}{.5\textwidth}
\UERJpreambulo
\end{minipage}%
\vspace{1.3cm}
\noindent Aprovada em \UERJdia\ de \UERJmes\ de \UERJano.\par
\noindent Banca Examinadora:\\[-1.5\baselineskip]
\vspace{\spc}
\assinatura{\UERJorientador\ (\UERJsurpevisor)}{\UERJorientadorinstituicao}
\ifnotempty{\UERJcoorientador}{
\vspace{\spc}
\assinatura{\UERJcoorientador\ (\UERJcosurpevisor)}{\UERJcoorientadorinstituicao}
}
% \end{onehalfspace}
}
{
\vfill
{\centering
\UERJlocal\\[0.1\baselineskip]
\UERJdata\par
}
\cleardoublepage
}
% ------------------------------------------------------------------------
\newenvironment{folhadeaprovacao*}{
\thispagestyle{empty}%
% \begin{onehalfspace}
{
\centering
\UERJautor\par
\vspace*{0.8cm}
{\bfseries\UERJtitulo}\par
\vspace*{1.3cm}
}
\noindent\hspace*{.49\textwidth}
\begin{minipage}{.5\textwidth}
\UERJpreambulo
\end{minipage}%
\vspace*{1.0cm}
\noindent Aprovada em \UERJdia\ de \UERJmes\ de \UERJano.\par
\ifthenelse{\equal{\UERJcoorientador}{}}
{
\noindent \UERJsurpevisor:
\vspace{\spc}
\assinatura*{\UERJorientador}{\UERJorientadorinstituicao}
}
{
\noindent Orientadores:
\vspace{\spc}
\assinatura*{\UERJorientador}{\UERJorientadorinstituicao}
\vspace{\spc}
\assinatura*{\UERJcoorientador}{\UERJcoorientadorinstituicao}
}
\noindent Banca Examinadora:\\[2\baselineskip]
% \end{onehalfspace}
}
{
\vfill
{\centering
\UERJlocal\\[0.1\baselineskip]
\UERJdata\par
}
\cleardoublepage
}
% ------------------------------------------------------------------------
% ------------------------------------------------------------------------
% Elemento pre-textual - Lista de abrebiaturas
% ------------------------------------------------------------------------
% ------------------------------------------------------------------------
%---
\makeatletter
%---
\newlength{\abrevlabel}
\setlength{\abrevlabel}{2.5cm}
\newcommand{\abreviatura}[2]{
\noindent{\makebox[\abrevlabel]{#1\hfill}\parbox[t]{\textwidth-\abrevlabel}{#2\\[-0.6\baselineskip]}}
}
\newcommand\abrevitem[2]{%
\write\@auxout{\noexpand\@writefile{abr}{\noexpand\abreviatura{#1}{#2}}}
{#2 (#1)}
}
\newcommand\listadeabreviaturas{%
\pretextualchapter{\abrevnome}
\@starttoc{abr}
}
%---
\makeatother
%---
% ------------------------------------------------------------------------
% ------------------------------------------------------------------------
% Elemento pre-textual - Lista de simbolos
% ------------------------------------------------------------------------
% ------------------------------------------------------------------------
%---
\makeatletter
%---
\newlength{\simblabel}
\setlength{\simblabel}{2.5cm}
\newcommand{\simbolo}[2]{
\noindent{\makebox[\simblabel]{\ensuremath{#1}\hfill}\parbox[t]{\textwidth-\simblabel}{#2\\[-0.6\baselineskip]}}
}
\newcommand\simbitem[2]{%
\write\@auxout{\noexpand\@writefile{sim}{\noexpand\simbolo{#1}{#2}}}
{#1: #2}
}
\newcommand\listadesimbolos{%
\pretextualchapter{\simbnome}
\@starttoc{sim}
}
%---
\makeatother
%---
% ------------------------------------------------------------------------
% ------------------------------------------------------------------------
% Elemento pre-textual - Glossario
% ------------------------------------------------------------------------
% ------------------------------------------------------------------------
%---
\makeatletter
%---
\newlength{\glosslabel}\setlength{\glosslabel}{2.5cm}
\newcommand{\definicao}[2]{
\noindent{\makebox[\glosslabel]{#1\hfill}\parbox[t]{\textwidth-\glosslabel}{#2\\[-0.6\baselineskip]}}
}
\newcommand\glossitem[2]{%
\write\@auxout{\noexpand\@writefile{glo}{\noexpand\definicao{#1}{#2}}}
}
\newcommand\glossario{%
\pretextualchapter{\glossarionome}
\@starttoc{glo}
}
%---
\makeatother
%---
% ------------------------------------------------------------------------
% ------------------------------------------------------------------------
% ---
\newlist{itemizacao}{itemize}{1}
\setlist[itemizacao,1]{leftmargin=*,labelindent=2\parindent,
parsep=0pt,itemsep=0pt,label=\textbullet}
% ---
\newlist{alinea}{enumerate}{2}
\setlist[alinea,1]{leftmargin=*,
labelindent=2\parindent,
parsep=0pt,
itemsep=0pt,
label={\alph*)}
}
\setlist[alinea,2]{leftmargin=*,
labelindent=0pt,
parsep=0pt,
itemsep=0pt,
label={--}%,
% topsep=-0.125\baselineskip
}
% ---
% ---
\newlist{exemplo}{itemize}{1}
\setlist[exemplo,1]{label={Ex.:},topsep=0.95\baselineskip,parsep=0.5\baselineskip,
itemsep=0pt,leftmargin=*, labelindent=0cm}%
% ---
\newlist{lsetap}{itemize}{1}
\setlist[lsetap,1]{label={\ding{233}},topsep=-0.125\baselineskip,parsep=0pt,
itemsep=0pt,leftmargin=*,labelindent=\parindent}%
\newlist{lseta}{itemize}{1}
\setlist[lseta,1]{label={\ding{233}},topsep=-0.125\baselineskip,parsep=0pt,
itemsep=0pt,leftmargin=*,labelindent=0pt}%
\newlist{lquadp}{itemize}{1}
\setlist[lquadp,1]{label={\ding{111}},topsep=-0.125\baselineskip,parsep=0pt,
itemsep=0pt,leftmargin=*,labelindent=\parindent}%
\newlist{lquad}{itemize}{1}
\setlist[lquad,1]{label={\ding{111}},topsep=-0.125\baselineskip,parsep=0pt,
itemsep=0pt,leftmargin=*,labelindent=0pt}%
\newlist{lcircp}{itemize}{1}
\setlist[lcircp,1]{label={\textbullet},topsep=-0.125\baselineskip,parsep=0pt,
itemsep=0pt,leftmargin=*,labelindent=\parindent}%
\newlist{lcirc}{itemize}{1}
\setlist[lcirc,1]{label={\textbullet},topsep=-0.125\baselineskip,parsep=0pt,
itemsep=0pt,leftmargin=*,labelindent=0pt}%
\newlist{ltravep}{itemize}{1}
\setlist[ltravep,1]{label={--},topsep=-0.125\baselineskip,parsep=0pt,
itemsep=0pt,leftmargin=*,labelindent=\parindent}%
\newlist{ltrave}{itemize}{1}
\setlist[ltrave,1]{label={--},topsep=-0.125\baselineskip,parsep=0pt,
itemsep=0pt,leftmargin=*,labelindent=0pt}%
\newlist{lalfap}{enumerate}{1}
\setlist[lalfap,1]{label={\alph*)},topsep=-0.125\baselineskip,parsep=0pt,
itemsep=0pt,leftmargin=\parindent-\labelsep+\labelwidth}%
\newlist{lalfa}{enumerate}{1}
\setlist[lalfa,1]{label={\alph*)},topsep=-0.125\baselineskip,parsep=0pt,
itemsep=0pt,leftmargin=*,labelindent=0pt}%
\setlist[lalfa,2]{label={--},topsep=-0.125\baselineskip,parsep=0pt,
itemsep=0pt,leftmargin=*,labelindent=0pt}%
% ---
% ------------------------------------------------------------------------
% ------------------------------------------------------------------------
\newenvironment*{estrutura}{%
\list{}{
\setlength{\topsep}{\baselineskip}%
\setlength{\itemsep}{0pt}
\setlength{\parsep}{0pt}
\setlength{\leftmargin}{0pt}
\setlength{\labelindent}{0pt}
}%
\item[]%
\begin{flushleft}%
}{%
\end{flushleft}%
\endlist
}%
% ---
\newenvironment*{citacao}{%
\singlespacing
\list{}%
\footnotesize%
\addtolength{\leftskip}{4cm}%
\item[]%
}{%
\endlist
\onehalfspacing
}%
% ---
\newcommand{\indice}[2]{
\ifthenelse{\equal{#1}{}}
{\index{#1@\textbf{#1}}}
{\index{#1@\textbf{#1}!#2}}
}
\newenvironment{epigrafeonline}{
\singlespacing
\noindent\hfill\begin{minipage}{0.5\textwidth}
% \begin{flushright}%
}{%
% \end{flushright}%
\end{minipage}
\par\noindent%\ignorespacesafterend
}
\newenvironment{epigrafeonline*}{
\singlespacing
\noindent\hfill\begin{minipage}{0.5\textwidth}
\begin{flushright}%
}{%
\end{flushright}%
\end{minipage}
\par\noindent%\ignorespacesafterend
}
% ------------------------------------------------------------------------
% ------------------------------------------------------------------------
\let\sumario\tableofcontents
\let\listadefiguras\listoffigures
\let\listadetabelas\listoftables
% ------------------------------------------------------------------------
% ------------------------------------------------------------------------
repUERJpseudocode.sty · 14 KB
\NeedsTeXFormat{LaTeX2e}
% desenvolvido por Prof. Luis Fernando de Oliveira IF/UERJ
\ProvidesPackage{repUERJpseudocode}[2015/12/04 v4 repUERJpseudocode.sty]
\RequirePackage{ifthen}
\RequirePackage{calc}
\RequirePackage{caption}
%\RequirePackage{xcolor}
%\RequirePackage{enumitem}
%\RequirePackage{pifont}
%\RequirePackage{keyval}
\RequirePackage{amsmath}
%\setlength{\mathindent}{0pt}
\newboolean{algline}
\setboolean{algline}{true}
\newboolean{numline}
\setboolean{numline}{true}
% turn on/off the line number printing
\newcommand{\alglinenumberson}{
\setboolean{algline}{true}
\setboolean{numline}{true}
}
\newcommand{\alglinenumbersoff}{
\setboolean{algline}{false}
\setboolean{numline}{false}
}
\DeclareOption{line=yes} {\alglinenumberson}
\DeclareOption{line=no} {\alglinenumbersoff}
\ProcessOptions
% ------------------------------------------------------------------------
% ------------------------------------------------------------------------
% Elemento textual - Configuração dos parâmetros de algoritmo
% ------------------------------------------------------------------------
% ------------------------------------------------------------------------
% font size of line numbers
\newcommand{\pseudocodefontsize}{\normalsize}
\newcommand{\pseudocodenumbefontsize}{\scriptsize}
\newlength{\tab} % tabbulation length
\setlength{\tab}{1.5em}
\newcounter{contlin} % line counter
\newcounter{conttab} % tabbulation counter
\newcounter{contitab} % initial tabbulation counter
% increment and decrement tabbulation
\newcommand{\backward}{\addtocounter{conttab}{-1}}
\newcommand{\forward}{\addtocounter{conttab}{1}}
% increment and decrement initial tabbulation
\newcommand{\backwardi}{\addtocounter{contitab}{-1}}
\newcommand{\forwardi}{\addtocounter{contitab}{1}}
% paragraph tabbulation and incremental tabbulation
\newcommand{\partab}{\hspace*{\value{contitab}\tab}\ignorespaces}
\newcommand{\inctab}{\hspace*{\tab}\ignorespaces}
% print the line number or not
\newcommand{\nlin}{
\ifthenelse{\boolean{numline}}
% if option algline=yes
{\refstepcounter{contlin}{\backwardi\partab\forwardi\pseudocodenumbefontsize\makebox[\tab][l]{\thecontlin.}}\ignorespaces}
% if option algline=no
{\backwardi\partab\forwardi\inctab}
}
\newcommand{\resetlin}{\setcounter{contlin}{0}}
\def\again#1#2{\count0=#1 \loop \ifnum\count0>0 \advance\count0 by -1 #2\repeat}
% tabbulation before printed instructions
%\newcommand{\tabulacao}{\nlin\hspace*{\value{conttab}\tab}\ignorespaces}
\newcommand{\tabulacao}{\nlin\again{\value{conttab}}{\hspace*{0.2\tab}$\vert$\hspace*{0.7\tab}\ignorespaces}}
\newcommand{\delin}{\{}
\newcommand{\delout}{\}}
% ------------------------------------------------------------------------
% ------------------------------------------------------------------------
% Elemento pre-textual - Lista de algoritmos
% ------------------------------------------------------------------------
% ------------------------------------------------------------------------
%---
\makeatletter
%---
\newcommand{\algorithmname}{Algoritmo}
\newenvironment{pseudocode}
{\setcounter{contlin}{0}
\setcounter{conttab}{0}
\setcounter{contitab}{0}
\pseudocodefontsize\begingroup\singlespacing}
{\endgroup}
\newenvironment{pseudocode*}
{\pseudocodefontsize\begingroup\singlespacing}
{\endgroup}
\newcounter{algorithm}
\renewcommand \thealgorithm {\@arabic\c@algorithm}
\def\fps@algorithm{htbp}
\def\ftype@algorithm{3}
\def\ext@algorithm{loa}
\def\fnum@algorithm{\algorithmname\nobreakspace\thealgorithm}
\newenvironment{algorithm}
{\@float{algorithm}}
{\end@float}
\newenvironment{algorithm*}
{\addtocounter{algorithm}{-1}
\captionsetup{list=no}
\@dblfloat{algorithm}}
{\end@dblfloat}
\DeclareCaptionListFormat{algorithmfmt}{\algorithmname\hfill#2 - }
\captionsetup[algorithm]{listformat=algorithmfmt}
\newcommand*\l@algorithm{\@dottedtocline{0}{0em}{6.8em}}
\newcommand{\listalgorithmname}{Lista de algoritmos}
\newcommand\listofalgorithms{%
\if@twocolumn
\@restonecoltrue\onecolumn
\else
\@restonecolfalse
\fi
\pretextualchapter{\listalgorithmname}%
\@starttoc{loa}%
\if@restonecol\twocolumn\fi
}
%---
\makeatother
%---
% ------------------------------------------------------------------------
% ------------------------------------------------------------------------
% Elemento textual - Estrutura de algoritmos
% ------------------------------------------------------------------------
% ------------------------------------------------------------------------
%\onehalfspacing
\newlength\myskip
\setlength{\myskip}{0.3\baselineskip}
% ------------------------------------------------------------------------
% Estrutura de Documentação Externa
% ------------------------------------------------------------------------
\newcommand{\Documentacao}{
\textsc{Documenta\c{c}\~ao}\\[\myskip]
% \addtocounter{contitab}{1}
\forwardi
}
\newcommand{\FimDocumentacao}{
\backwardi
% \addtocounter{contitab}{-1}
\textsc{Fim Documenta\c{c}\~ao}\\[\myskip]
}
\newcommand{\Titulo}[1]{
\partab\textsc{T\'itulo}\\[\myskip]
\partab\inctab\parbox[t]{\textwidth-2\tab}{\textbf{#1}}\\[\myskip]
}
\newcommand{\Proposito}[1]{
\partab\textsc{Prop\'osito}\\[\myskip]
\partab\inctab\parbox[t]{\textwidth-2\tab}{#1}\\[2\myskip]
}
\newcommand{\Metodo}[1]{
\partab\textsc{M\'etodo}\\[\myskip]
\partab\inctab\parbox[t]{\textwidth-2\tab}{#1}\\[2\myskip]
}
\newcommand{\Entradas}[1]{
\partab\textsc{Entradas}\\[\myskip]
\partab\inctab\parbox[t]{\textwidth-2\tab}{#1}\\[2\myskip]
}
\newcommand{\Saidas}[1]{
\partab\textsc{Sa\'idas}\\[\myskip]
\partab\inctab\parbox[t]{\textwidth-2\tab}{#1}\\[2\myskip]
}
\newcommand{\Observacoes}[1]{
\partab\textsc{Observa\c{c}\~oes, Restri\c{c}\~oes, Requisitos}\\[\myskip]
\partab\inctab\parbox[t]{\textwidth-2\tab}{#1}\\[2\myskip]
}
% ------------------------------------------------------------------------
% Estrutura de Pseudocódigo
% ------------------------------------------------------------------------
\newcommand{\tfuncao}{\color{blue}Função}
\newcommand{\tfimfuncao}{\color{blue}Fim Função}
\newcommand{\tsubrotina}{\color{blue}Subrotina}
\newcommand{\tfimsubrotina}{\color{blue}Fim Subrotina}
\newcommand{\tprocedimento}{\color{blue}Procedimento}
\newcommand{\tfimprocedimento}{\color{blue}Fim Procedimento}
\newcommand{\Algoritmo}[1]{
\resetlin
\partab{\textsc{Algoritmo} \ifnotempty{#1}{\textsc{#1}}}\\
\forwardi
}
\newcommand{\FimAlgoritmo}{
\backwardi
\partab{\textsc{Fim Algoritmo}}\\
}
\newcommand{\Programa}[1]{
\resetlin
\partab{\textsc{Programa} \ifnotempty{#1}{\textsc{#1}}}\\
\forwardi
}
\newcommand{\FimPrograma}{
\backwardi
\partab{\textsc{Fim Programa}}\\
}
\newcommand{\Funcao}[2]{
\resetlin
\partab{{\textsc{\tfuncao}} \textsc{#1} (#2)}\\
\forwardi
}
\newcommand{\FimFuncao}{
\backwardi
\partab{\textsc{\tfimfuncao}}\\
}
\newcommand{\Subrotina}[2]{
\resetlin
\partab{{\textsc{\tsubrotina}} \textsc{#1} (#2)}\\
\forwardi
}
\newcommand{\FimSubrotina}{
\backwardi
\partab{\textsc{\tfimsubrotina}}\\
}
\newcommand{\Procedimento}[2]{
\resetlin
\partab{{\textsc{\tprocedimento}} \textsc{#1} (#2)}\\
\forwardi
}
\newcommand{\FimProcedimento}{
\backwardi
\partab{\textsc{\tfimprocedimento}}\\
}
\newcommand{\Retornar}[1]{
\tabulacao\textbf{\tretornar} #1\\
}
\newcommand{\Continua}{
\partab--- \textsl{continua} ---\\
}
\newcommand{\Continuacao}{
\partab--- \textsl{continua\c{c}\~ao} ---\\
}
\newcommand{\LinhaEmBranco}{
\partab\inctab\\
}
\newcommand{\Comentario}[1]{
% \forwardi
\partab\delin \textsl{#1}\delout\\
% \backwardi
}
% Comandos
\newcommand{\String}[1]{``#1''}
\newcommand{\tdefinir}{\color{DarkOrange}definir}
\newcommand{\tregistro}{\color{DarkOrange}registro}
\newcommand{\tfimreg}{\color{DarkOrange}fim registro}
\newcommand{\tdeclarar}{\color{Maroon}declarar}
\newcommand{\tconstante}{\color{black}constante}
\newcommand{\tporcopia}{\color{Maroon}por cópia}
\newcommand{\tporref}{\color{Maroon}por referência}
\newcommand{\tnumerico}{\color{Blue}numérico}
\newcommand{\tnumericos}{\color{Blue}numéricos}
\newcommand{\tnumerica}{\color{Blue}numérica}
\newcommand{\tnumericas}{\color{Blue}numéricas}
\newcommand{\tliteral}{\color{DarkBlue}literal}
\newcommand{\tliterais}{\color{DarkBlue}literais}
\newcommand{\tlogico}{\color{DarkBlue}lógico}
\newcommand{\tlogicos}{\color{DarkBlue}lógicos}
\newcommand{\tlogica}{\color{DarkBlue}lógica}
\newcommand{\tlogicas}{\color{DarkBlue}lógicas}
\newcommand{\tler}{\color{red}ler}
\newcommand{\tescrever}{\color{red}escrever}
\newcommand{\tem}{\color{red}em}
\newcommand{\tabrir}{\color{DarkGreen}abrir}
\newcommand{\tfechar}{\color{DarkGreen}fechar}
\newcommand{\tcomo}{\color{DarkGreen}como}
\newcommand{\tretornar}{\color{blue}retornar}
\newcommand{\tparar}{\color{blue}parar}
\newcommand{\tfazer}{\color{DarkGreen}fazer}
\newcommand{\trepetir}{\color{DarkGreen}repetir}
\newcommand{\tenquanto}{\color{DarkGreen}enquanto}
\newcommand{\tpara}{\color{DarkGreen}para}
\newcommand{\tde}{\color{DarkGreen}de}
\newcommand{\tate}{\color{DarkGreen}at\'e}
\newcommand{\tpasso}{\color{DarkGreen}passo}
\newcommand{\tque}{\color{DarkGreen}que}
\newcommand{\tfimenquanto}{\color{DarkGreen}fim enquanto}
\newcommand{\tfimpara}{\color{DarkGreen}fim para}
\newcommand{\tfimfazer}{\color{DarkGreen}fim fazer}
\newcommand{\tse}{\color{violet}se}
\newcommand{\tentao}{\color{violet}ent\~ao}
\newcommand{\tsenao}{\color{violet}sen\~ao}
\newcommand{\tfimse}{\color{violet}fim se}
% Instrucoes
\newcommand{\Declarar}[5][]{
\ifthenelse{\boolean{algline}}{\setboolean{numline}{false}}{\setboolean{numline}{false}}
\tabulacao\textbf{\tdeclarar} #2 \textbf{#3}\ifnotempty{#4}{(#4)}\ignorespaces
\ifnotempty{#5}{\textbf{#5}}\ifnotempty{#1}{\hfill\delin \textsl{#1}\delout}\ignorespaces\\
\ifthenelse{\boolean{algline}}{\setboolean{numline}{true}}{\setboolean{numline}{false}}
}
%---
\makeatletter
%---
\newcommand{\Definir}[2][]{
\expandafter\def\csname t#2\endcsname{\color{RedOrange}#2}
\expandafter\def\csname t#2s\endcsname{\color{RedOrange}#2s}
\ifthenelse{\boolean{algline}}{\setboolean{numline}{false}}{\setboolean{numline}{false}}
\tabulacao\textbf{\tdefinir\ \tregistro} {\color{RedOrange}#2}\ifnotempty{#1}{\inctab\delin \textsl{#1}\delout}\\
\ifthenelse{\boolean{algline}}{\setboolean{numline}{true}}{\setboolean{numline}{false}}
\forward
}
%---
\makeatother
%---
\newcommand{\FimRegistro}{
\backward
\ifthenelse{\boolean{algline}}{\setboolean{numline}{false}}{\setboolean{numline}{false}}
\tabulacao\textbf{\tfimreg}\\
\ifthenelse{\boolean{algline}}{\setboolean{numline}{true}}{\setboolean{numline}{false}}
}
\newcommand{\Abrir}[4][]{
\tabulacao\textbf{\tabrir} #2 \textbf{\tcomo} #3 \textbf{\tpara{} #4}\ifnotempty{#1}{\quad\dotfill\quad\delin \textsl{#1}\delout}\\
}
\newcommand{\Fechar}[2][]{
\tabulacao\textbf{\tfechar} #2\ifnotempty{#1}{\quad\dotfill\quad\delin \textsl{#1}\delout}\\
}
\newcommand{\Ler}[3][]{
\tabulacao\textbf{\tler}\ignorespaces\ifnotempty{#3}{ \textbf{\tem} #3}#2\ifnotempty{#1}{\quad\dotfill\quad\delin \textsl{#1}\delout}\\
}
\newcommand{\Escrever}[3][]{
\tabulacao\textbf{\tescrever}\ignorespaces\ifnotempty{#3}{ \textbf{\tem} #3}#2\ifnotempty{#1}{\quad\dotfill\quad\delin \textsl{#1}\delout}\\
}
\newcommand{\SeEntao}[2][]{
\tabulacao\textbf{\tse} (#2), \textbf{\tentao}\ifnotempty{#1}{\quad\dotfill\quad\delin \textsl{#1}\delout}\\
\forward
}
\newcommand{\Senao}[1][]{
\backward
\tabulacao\textbf{\tsenao}\ifnotempty{#1}{\quad\dotfill\quad\delin \textsl{#1}\delout}\\
\forward
}
\newcommand{\SenaoSeEntao}[2][]{
\backward
\tabulacao\textbf{\tsenao\ \tse} (#2),
\textbf{\tentao}\ifnotempty{#1}{\quad\dotfill\quad\delin \textsl{#1}\delout}\\
\forward
}
\newcommand{\FimSe}{
\backward
\tabulacao\textbf{\tfimse}\\
}
\newboolean{enq}
\setboolean{enq}{false}
\newcommand{\Fazer}[1][]{
\tabulacao\textbf{\tfazer}\ifnotempty{#1}{\quad\dotfill\quad\delin \textsl{#1}\delout}\\
\forward\setboolean{enq}{true}
}
\newcommand{\Enquanto}[2][]{
\ifthenelse{\boolean{enq}}
{
\setboolean{enq}{false}\backward
\tabulacao\textbf{\tenquanto} (#2)\ifnotempty{#1}{\quad\dotfill\quad\delin \textsl{#1}\delout}\\
}
{
\tabulacao\textbf{\tenquanto} (#2),
\textbf{\tfazer}\ifnotempty{#1}{\quad\dotfill\quad\delin \textsl{#1}\delout}\\
\forward
}
}
\newcommand{\FimEnquanto}{
\backward
\tabulacao\textbf{\tfimenquanto}\\
}
\newcommand{\FimFazer}{
\backward
\tabulacao\textbf{\tfimfazer}\\
}
\newcommand{\Repetir}[1][]{
\tabulacao\textbf{\trepetir}\ifnotempty{#1}{\quad\dotfill\quad\delin \textsl{#1}\delout}\\
\forward
}
\newcommand{\AteQue}[2][]{
\backward
\tabulacao\textbf{\tate\ \tque} (#2)\ifnotempty{#1}{\quad\dotfill\quad\delin \textsl{#1}\delout}\\
}
\newcommand{\ParaDeAtePasso}[5][]{
\tabulacao\textbf{\tpara} #2 \textbf{\tde} #3 \textbf{\tate} #4\ignorespaces
\ifnotempty{#5}{\textbf{ \tpasso} #5\ignorespaces},
\textbf{\tfazer}\ifnotempty{#1}{\quad\dotfill\quad\delin \textsl{#1}\delout}\\
\forward
}
\newcommand{\FimPara}{
\backward
\tabulacao\textbf{\tfimpara}\\
}
\newcommand{\Parar}{ %parar
\tabulacao\textbf{\tparar}\\
}
\newcommand{\Alocar}[2]{ %parar
\tabulacao\textbf{alocar}(#1,#2)\\
}
\newcommand{\Desalocar}[1]{ %parar
\tabulacao\textbf{desalocar}(#1)\\
}
%---
\makeatletter
%---
\newlength{\ltab}
\newcommand{\Ins}[2][]{
\setlength{\ltab}{\textwidth-2\tab-\value{conttab}\tab}
\sbox\@tempboxa{#2}
\ifdim \wd\@tempboxa < \ltab
\tabulacao#2\ifnotempty{#1}{\quad\dotfill\quad\delin\textsl{#1}\delout}\\
\else
\tabulacao\parbox[t]{\ltab}{\setlength\hangindent{\tab}#2}\vspace{0.35\baselineskip}
\fi
}
%---
\makeatother
%---
\let\listadealgoritmos\listofalgorithms
The first page, as this template compiles today. Click it to enlarge, and again to shrink. Open the file ↗