diff options
author | Karl Berry <karl@freefriends.org> | 2016-12-15 22:43:07 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2016-12-15 22:43:07 +0000 |
commit | 0a93fce55e333cac795610777a2bc12548349305 (patch) | |
tree | 9b2b025e1a8e126c460d7bd09420c4271f11dd8d /Master/texmf-dist/tex/latex/fei | |
parent | a48a2b0499d47ec1f2e9727fbdb588a4ad911e3b (diff) |
fei (15dec16)
git-svn-id: svn://tug.org/texlive/trunk@42713 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/fei')
-rw-r--r-- | Master/texmf-dist/tex/latex/fei/fei.cls | 338 |
1 files changed, 161 insertions, 177 deletions
diff --git a/Master/texmf-dist/tex/latex/fei/fei.cls b/Master/texmf-dist/tex/latex/fei/fei.cls index bf6b8d3751f..cf80d2790c2 100644 --- a/Master/texmf-dist/tex/latex/fei/fei.cls +++ b/Master/texmf-dist/tex/latex/fei/fei.cls @@ -14,57 +14,54 @@ %% See http://www.latex-project.org/lppl.txt %% ----------------------------------------------------------------------------------------------------- \NeedsTeXFormat{LaTeX2e} -\ProvidesClass{fei}[2016/09/02 2.0.1 Modelo da FEI] -\LoadClass{report} +\ProvidesClass{fei}[2016/09/02 3.0.2 Modelo da FEI] +\LoadClass[a4paper]{memoir} \DeclareOption{xindy}{ - \PassOptionsToPackage{\CurrentOption}{imakeidx} - \PassOptionsToPackage{\CurrentOption}{glossaries} +\PassOptionsToPackage{\CurrentOption}{imakeidx} +\PassOptionsToPackage{\CurrentOption}{glossaries} } - \newif\ifrascunho -\rascunhotrue +\rascunhofalse \DeclareOption{rascunho} { -\rascunhofalse +\rascunhotrue } \newif\ifsublist \sublistfalse \DeclareOption{sublist} { - \sublisttrue +\sublisttrue } \newif\ifarial \DeclareOption{arial} { - \arialtrue +\arialtrue } \DeclareOption{times} { - \arialfalse +\arialfalse } \newif\iftwoside \twosidefalse \DeclareOption{twoside} { - \twosidetrue +\twosidetrue } \DeclareOption{algo-as-figure} { - \PassOptionsToPackage{figure}{algorithm2e} +\PassOptionsToPackage{figure}{algorithm2e} } - - - - - - - +\iftwoside +\PassOptionsToClass{twoside}{memoir} +\else +\PassOptionsToClass{oneside}{memoir} +\fi \ExecuteOptions{times} % processa op^^c3^^a7^^c3^^b5es-padr^^c3^^a3o @@ -72,31 +69,30 @@ \ProcessOptions\relax % processa todas as op^^c3^^a7^^c3^^b5es \RequirePackage[utf8]{inputenc} +\RequirePackage[T1]{fontenc} +\RequirePackage[english,portuges]{babel} \RequirePackage{csquotes} \renewcommand{\normalsize}{\fontsize{12pt}{14.4pt}\selectfont} % fonte do texto \renewcommand{\footnotesize}{\fontsize{10pt}{12pt}\selectfont} % fonte das notas de rodap^^c3^^a9 -\RequirePackage[a4paper,top=3cm,bottom=2cm,left=3cm,right=2cm,bindingoffset=0cm,nofoot]{geometry} - -\RequirePackage{fancyhdr} -\pagenumbering{arabic} % estilo da numera^^c3^^a7^^c3^^a3o das p^^c3^^a1ginas -\pagestyle{fancy} % estilo dos cabe^^c3^^a7alhos/rodap^^c3^^a9s -\fancyhf{} -\renewcommand{\footrulewidth}{0pt} -\renewcommand{\headrulewidth}{0pt} -\fancyhead[RO,LE]{\footnotesize\thepage}% numero da p^^c3^^a1gina em fonte menor que a do texto -\setlength{\headheight}{14.4pt} - -\RequirePackage[english,brazil]{babel} -\RequirePackage[T1]{fontenc} -\RequirePackage{setspace} -\spacing{1.45} +\setlrmarginsandblock{30mm}{20mm}{*} +\setulmarginsandblock{30mm}{20mm}{*} +\checkandfixthelayout + +\linespread{1.25} % espa^^c3^^a7amento entre linhas \setlength{\parindent}{1.25cm} % recuo do paragrafo +\makepagestyle{title} % pagina de titulo +\makepagestyle{plain} % estilo padr^^c3^^a3o +\makeevenhead{plain}{\footnotesize\thepage}{}{} +\makeoddhead{plain}{}{}{\footnotesize\thepage} + +\setlength{\headheight}{14.4pt} % remove warning do memoir + \RequirePackage[font={singlespacing},format=hang, justification=raggedright,labelsep=endash,singlelinecheck=false]{caption} % fontes das legendas -\selectlanguage{brazil} % idioma do documento +\selectlanguage{portuges} % idioma do documento \widowpenalty=10000 \clubpenalty=10000 @@ -106,11 +102,10 @@ \RequirePackage{icomma} % v^^c3^^adrgula como separador decimal \ifarial - % \RequirePackage{helvet} - \usepackage[scaled]{uarial} - \renewcommand*\familydefault{\sfdefault} %% Only if the base font of the document is to be sans serif +\usepackage[scaled]{uarial} +\renewcommand*\familydefault{\sfdefault} %% Only if the base font of the document is to be sans serif \else - \RequirePackage{times} % usar fonte times no texto todo +\RequirePackage{times} % usar fonte times no texto todo \fi \RequirePackage{graphicx} % figuras @@ -137,6 +132,17 @@ \SetAlgoCaptionSeparator{ --} % separador da legenda \SetAlCapSty{} % estilo da primeira parte da legenda (remove negrito padr^^c3^^a3o) \SetAlCapFnt{\normalsize} % fonte da primeira parte da legenda + +\let\l@algocf\l@figure + +\let\oldlistofalgorithms\listofalgorithms +\renewcommand{\listofalgorithms}{{% +\setlength{\cftfigurenumwidth}{6.2em} % espa^^c3^^a7o onde a palavra "Algoritmo" ^^c3^^a9 escrita +\renewcommand{\cftfigurepresnum}{Algoritmo } % escrita que precede cada entrada na lista +\renewcommand{\cftfigureaftersnum}{\hfill--\hfill} % tra^^c3^^a7o na frente da escrita que precede as entradas na lista +\part*{\listalgorithmcfname}\pagestyle{empty}\@starttoc{loa}\cleardoublepage % titulo com formato padr^^c3^^a3o de todas as listas +}} + \RequirePackage{amsthm,thmtools} \renewcommand{\listtheoremname}{Lista de Teoremas} % traduz nome da lista de teoremas @@ -168,17 +174,18 @@ postheadspace=1em \renewcommand{\figurename}{\fontsize{10pt}{10pt}\selectfont Figura} \renewcommand{\tablename}{\fontsize{10pt}{10pt}\selectfont Tabela} + \RequirePackage{enumitem} -\setlist[1]{align=left,labelindent=\parindent,labelwidth=*,labelsep=0.5em,label={\alph*)},ref=\theenumi} -\setlist[2]{align=left,labelindent=\parindent,labelwidth=*,labelsep=0.5em,label={--},ref=\theenumii} +\setlist[1]{align=left,leftmargin=2.25cm,labelsep=0.5em,label={\alph*)},ref=\theenumi} +\setlist[2]{align=left,labelwidth=*,labelsep=0.5em,label={--},ref=\theenumii} \renewenvironment{itemize}{\begin{enumerate}}{\end{enumerate}} % troca o itemize pelo enumerate (seguindo o manual da biblioteca) \renewcommand{\floatpagefraction}{.8} % p^^c3^^a1gina ter^^c3^^a1 apenas floats se o float ocupar pelo menos 80% da p^^c3^^a1gina \renewcommand{\part}{% n^^c3^^a3o usado no texto, s^^c3^^b3 para algumas p^^c3^^a1ginas (resumo, abstract, agradecimentos...) -\@startsection{part}{-1}{0pt}{2\baselineskip}{2\baselineskip}{\cleardoublepage\fontsize{12pt}{14.4pt}\centering\bf\MakeUppercase}} +\@startsection{part}{-1}{0pt}{\baselineskip}{\baselineskip}{\cleardoublepage\fontsize{12pt}{14.4pt}\centering\bfseries\MakeUppercase}} -\renewcommand{\chapter}{\cleardoublepage\pagestyle{fancy}% +\renewcommand{\chapter}{\cleardoublepage\pagestyle{plain}% \@startsection{chapter}{0}{0pt}{\baselineskip}{\baselineskip}{\fontsize{12pt}{14.4pt}\bfseries\MakeUppercase}} \renewcommand{\section}{% @@ -196,54 +203,42 @@ postheadspace=1em \setcounter{secnumdepth}{4} % numerar divis^^c3^^b5es at^^c3^^a9 o quarto n^^c3^^advel (paragraph) \setcounter{tocdepth}{4} % incluir divis^^c3^^b5es no sum^^c3^^a1rio at^^c3^^a9 o quarto n^^c3^^advel (paragraph) -%% configuracao do sumario e listas de tabelas e figuras -\RequirePackage[titles]{tocloft} % para poder fazer mais coisas no sumario e nas listas - -\tocloftpagestyle{empty} % remove numera^^c3^^a7^^c3^^a3o das p^^c3^^a1ginas controladas pelo tocloft - -\renewcommand{\cfttoctitlefont}{\hfil\bf\MakeUppercase} -\renewcommand{\cftloftitlefont}{\hfill\bf\MakeUppercase} -\renewcommand{\cftlottitlefont}{\hfill\bf\MakeUppercase} -\renewcommand{\cftafterloftitle}{\hfill} -\renewcommand{\cftafterlottitle}{\hfill} - -\renewcommand{\cftchapindent}{0pt} -\renewcommand{\cftsecindent}{0pt} -\renewcommand{\cftsubsecindent}{0pt} -\renewcommand{\cftsubsubsecindent}{0pt} -\renewcommand{\cftparaindent}{0pt} - -\renewcommand{\cftchapnumwidth}{\cftparanumwidth} -\renewcommand{\cftsecnumwidth}{\cftparanumwidth} -\renewcommand{\cftsubsecnumwidth}{\cftparanumwidth} -\renewcommand{\cftsubsubsecnumwidth}{\cftparanumwidth} -\renewcommand{\cftparanumwidth}{4em} - -\renewcommand{\cftbeforechapskip}{0pt} % remove recuo antes de entradas de cap^^c3^^adtulos no sum^^c3^^a1rio -\renewcommand{\cftchapfont}{\bfseries} % coloca o titulo de cap^^c3^^adtulos em negrito -\renewcommand{\cftchappagefont}{} % o n^^c3^^bamero da p^^c3^^a1gina dos cap^^c3^^adtulos n^^c3^^a3o ^^c3^^a9 em negrito -\renewcommand{\cftsubsecfont}{\bfseries} % coloca o titulo das secoes em negrito -\renewcommand{\cftsubsubsecfont}{\bfseries\itshape} % coloca o titulo das secoes em negrito -\renewcommand{\cftparafont}{\itshape} % coloca o titulo das secoes em negrito +\renewcommand{\cftchapterindent}{0pt} +\renewcommand{\cftsectionindent}{0pt} +\renewcommand{\cftsubsectionindent}{0pt} +\renewcommand{\cftsubsubsectionindent}{0pt} +\renewcommand{\cftparagraphindent}{0pt} + +\renewcommand{\cftchapternumwidth}{4em} +\renewcommand{\cftsectionnumwidth}{4em} +\renewcommand{\cftsubsectionnumwidth}{4em} +\renewcommand{\cftsubsubsectionnumwidth}{4em} +\renewcommand{\cftparagraphnumwidth}{4em} + +\renewcommand{\cftbeforechapterskip}{0pt} % remove recuo antes de entradas de cap^^c3^^adtulos no sum^^c3^^a1rio + +\renewcommand{\cftchapterfont}{\bfseries} % coloca o titulo de cap^^c3^^adtulos em negrito +\renewcommand{\cftsubsectionfont}{\bfseries} % coloca o titulo das secoes em negrito +\renewcommand{\cftsubsubsectionfont}{\bfseries\itshape} % coloca o titulo das secoes em negrito +\renewcommand{\cftparagraphfont}{\itshape} % coloca o titulo das secoes em negrito + \renewcommand{\cftpartleader}{\cftdotfill{\cftdotsep}} % pontos no sum^^c3^^a1rio para partes -\renewcommand{\cftchapleader}{\cftdotfill{\cftdotsep}} % pontos no sum^^c3^^a1rio para cap^^c3^^adtulos +\renewcommand{\cftchapterleader}{\cftdotfill{\cftdotsep}} % pontos no sum^^c3^^a1rio para cap^^c3^^adtulos -\setlength{\cftfignumwidth}{7.2em} % espa^^c3^^a7o onde a palavra "Ilustra^^c3^^a7^^c3^^a3o" ^^c3^^a9 escrita -\setlength{\cfttabnumwidth}{5.7em} % espa^^c3^^a7o onde a palavra "Tabela" ^^c3^^a9 escrita -\renewcommand{\cftfigpresnum}{Ilustra\c{c}\~ao } % escrita que precede cada entrada na lista de ilustra^^c3^^a7^^c3^^b5es -\renewcommand{\cfttabpresnum}{Tabela } % escrita que precede cada entrada na lista de tabelas -\renewcommand{\cftfigaftersnum}{ --} % tra^^c3^^a7o na frente da escrita que precede as entradas na lista de ilustra^^c3^^a7^^c3^^b5es -\renewcommand{\cfttabaftersnum}{ --} % tra^^c3^^a7o na frente da escrita que precede as entradas na lista de tabelas +\renewcommand{\cftchapterpagefont}{} % o n^^c3^^bamero da p^^c3^^a1gina dos cap^^c3^^adtulos n^^c3^^a3o ^^c3^^a9 em negrito + +\setlength{\cftfigurenumwidth}{7.2em} % espa^^c3^^a7o onde a palavra "Ilustra^^c3^^a7^^c3^^a3o" ^^c3^^a9 escrita +\setlength{\cfttablenumwidth}{5.7em} % espa^^c3^^a7o onde a palavra "Tabela" ^^c3^^a9 escrita +\renewcommand{\cftfigurepresnum}{Ilustra\c{c}\~ao } % escrita que precede cada entrada na lista de ilustra^^c3^^a7^^c3^^b5es +\renewcommand{\cfttablepresnum}{Tabela } % escrita que precede cada entrada na lista de tabelas +\renewcommand{\cftfigureaftersnum}{\hfill--\hfill} % tra^^c3^^a7o na frente da escrita que precede as entradas na lista de ilustra^^c3^^a7^^c3^^b5es +\renewcommand{\cfttableaftersnum}{\hfill--\hfill} % tra^^c3^^a7o na frente da escrita que precede as entradas na lista de tabelas \renewcommand{\tableofcontents}{\part*{\contentsname}\pagestyle{empty}\@starttoc{toc}\cleardoublepage} \renewcommand{\listoftables}{\part*{\listtablename}\pagestyle{empty}\@starttoc{lot}\cleardoublepage} \renewcommand{\listoffigures}{\part*{\listfigurename}\pagestyle{empty}\@starttoc{lof}\cleardoublepage} -\renewcommand{\listofalgorithms}{\begingroup% -\let\oldnumberline\numberline% -\renewcommand{\numberline}{Algoritmo~\oldnumberline}% -\part*{\listalgorithmcfname}\pagestyle{empty}\@starttoc{loa}\cleardoublepage\endgroup} \renewcommand{\listoftheorems}{\begingroup% \let\oldnumberline\numberline% @@ -252,22 +247,20 @@ postheadspace=1em \def\and{\\} % modifica fun^^c3^^a7^^c3^^a3o do comando \and para ele ser usado na declara^^c3^^a7^^c3^^a3o de m^^c3^^baltiplos autores -\renewcommand{\maketitle}{ -\pagestyle{empty} -\begin{center} -\textbf{ -\MakeUppercase{\@instituicao}\\[\baselineskip] -\uppercase\expandafter{\@author} -\vfill -\MakeUppercase{\@title}\ifthenelse{\isundefined{\@subtitulo}}{}{: \@subtitulo}} -\vfill -\@cidade\\ +\renewcommand{\maketitle}{% +\pagestyle{empty}% +\begin{center}% +\MakeUppercase{\@instituicao}\\[\baselineskip]% +\uppercase\expandafter{\@author}% +\vfill% +\textbf{\MakeUppercase{\@title}}\ifthenelse{\isundefined{\@subtitulo}}{}{: \@subtitulo}% +\vfill% +\@cidade\\% \number\year% -\end{center} +\end{center}% \cleardoublepage } - \newenvironment{folhaderosto}{ \setcounter{page}{1} \thispagestyle{empty} @@ -276,9 +269,9 @@ postheadspace=1em \vspace*{0.45\textheight} \textbf{\MakeUppercase{\@title}}\ifthenelse{\isundefined{\@subtitulo}}{}{: \@subtitulo} \vfill -\begin{flushright} +\begin{flushright}\begin{SingleSpace} \begin{minipage}{0.55\textwidth}}{\end{minipage}{} -\end{flushright} +\end{SingleSpace}\end{flushright} \vfill \@cidade\\ \number\year @@ -289,22 +282,21 @@ postheadspace=1em \RequirePackage{ifthen} \newcommand{\folhadeaprovacao}{ \ifrascunho - \includepdf{ata.pdf}\cleardoublepage +\thispagestyle{empty}\mbox{}\vfill\begin{center}\begin{Huge}Folha de aprova\c{c}\~{a}o\end{Huge}\vfill\end{center}\cleardoublepage \else - \thispagestyle{empty}\mbox{}\vfill\begin{center}\begin{Huge}Folha de aprova\c{c}\~{a}o\end{Huge}\vfill\end{center}\cleardoublepage +\includepdf{ata.pdf}\cleardoublepage \fi } \newcommand{\fichacatalografica}{ - \iftwoside - \else - % se n^^c3^^a3o for frente e verso, a ficha catalogr^^c3^^a1fica n^^c3^^a3o ^^c3^^a9 contada no verso da folha de rosto - \addtocounter{page}{-1} - \fi +\iftwoside +\else +\addtocounter{page}{-1} +\fi \ifrascunho -\includepdf{ficha.pdf}\cleardoublepage +\thispagestyle{empty}\mbox{}\vfill\begin{center}\begin{Huge}Ficha catalogr\'{a}fica\end{Huge}\vfill\end{center}\cleardoublepage \else - \thispagestyle{empty}\mbox{}\vfill\begin{center}\begin{Huge}Ficha catalogr\'{a}fica\end{Huge}\vfill\end{center}\cleardoublepage +\includepdf{ficha.pdf}\cleardoublepage \fi } @@ -347,61 +339,55 @@ postheadspace=1em \end{flushleft} } -\newenvironment{resumo}{\part*{Resumo}\pagestyle{empty}\begin{spacing}{1.1}\noindent\normalsize}{\end{spacing}\cleardoublepage\pagestyle{fancy}} +\newenvironment{resumo}{\part*{Resumo}\pagestyle{empty}}{\cleardoublepage\pagestyle{plain}\setlength{\parindent}{1.25cm}} -\renewenvironment{abstract}{\selectlanguage{english}\part*{Abstract}\pagestyle{empty}\begin{spacing}{1.1}\noindent\normalsize}{\end{spacing}\cleardoublepage\pagestyle{fancy}\selectlanguage{brazil}} +\renewenvironment{abstract}{\selectlanguage{english}\part*{Abstract}\pagestyle{empty}\setlength{\parindent}{1.25cm}}{\cleardoublepage\pagestyle{plain}\selectlanguage{portuges}} -\newenvironment{agradecimentos}{\part*{Agradecimentos}\pagestyle{empty}}{\cleardoublepage\pagestyle{fancy}} +\newenvironment{agradecimentos}{\part*{Agradecimentos}\pagestyle{empty}}{\cleardoublepage\pagestyle{plain}} \RequirePackage{imakeidx} \renewcommand{\indexname}{\'Indice} \let\oldmakeindex\makeindex \let\oldprintindex\printindex \renewcommand{\makeindex}{\oldmakeindex[title=\hfill \'INDICE \hfill \mbox{}]} -\renewcommand{\printindex}{\addcontentsline{toc}{chapter}{\hspace{\cftsubsubsecnumwidth}\'INDICE}% +\renewcommand{\printindex}{\addcontentsline{toc}{chapter}{\hspace{\cftchapternumwidth}\'INDICE}% \renewcommand{\chapter}{% -\@startsection{chapter}{0}{0pt}{0pt}{1.5cm}{\clearpage\fontsize{12pt}{14.4pt}\bf\MakeUppercase}}% +\@startsection{chapter}{0}{0pt}{0pt}{1.5cm}{\clearpage\fontsize{12pt}{14.4pt}\bfseries\MakeUppercase}}% \oldprintindex}% \RequirePackage[pdftex,pdfborder={0 0 0},colorlinks={false}]{hyperref} \ifsublist - \RequirePackage[symbols,nomain,acronym,nonumberlist]{glossaries} - % estilo usado como base - \setglossarystyle{alttree} - % Configuracao de identacao do nivel 0 (titulos) - \glssetwidest[0]{} - % Configuracao de identacao do nivel 1 (a lista de simbolos em si) - \glssetwidest[1]{aaaaaaaaaaaa} +\RequirePackage[symbols,nomain,acronym,nonumberlist]{glossaries} +\setglossarystyle{alttree} +\glssetwidest[0]{} +\glssetwidest[1]{aaaaaaaaaaaa} - % remove n^^c3^^bamero de p^^c3^^a1gina das listas de s^^c3^^admbolos e abreviaturas (executado na primeira p^^c3^^a1gina) - \renewcommand*{\glossarypreamble}{\thispagestyle{empty}\pagestyle{empty}\vspace*{-2\baselineskip}} +\renewcommand*{\glossarypreamble}{\thispagestyle{empty}\pagestyle{empty}\vspace*{-2\baselineskip}} \else - \RequirePackage[symbols,nomain,acronym,nonumberlist,nogroupskip]{glossaries} - - \newglossarystyle{mylong}{% - \setglossarystyle{long}% base this style on the long style - \renewenvironment{theglossary}{% - \begin{longtable*}{lp{\glsdescwidth}}}% - {\end{longtable*}}% - }% - - \setglossarystyle{mylong} - \renewcommand{\glsnamefont}[1]{\textbf{#1}} - \setlength\LTleft{0pt} - \setlength\LTright{0pt} - \setlength\glsdescwidth{\linewidth} - - % remove n^^c3^^bamero de p^^c3^^a1gina das listas de s^^c3^^admbolos e abreviaturas (executado na primeira p^^c3^^a1gina) - \renewcommand*{\glossarypreamble}{\thispagestyle{empty}\pagestyle{empty}} +\RequirePackage[symbols,nomain,acronym,nonumberlist,nogroupskip]{glossaries} + +\newglossarystyle{mylong}{% +\setglossarystyle{long}% base this style on the long style +\renewenvironment{theglossary}{% +\begin{longtable*}{lp{\glsdescwidth}}}% +{\end{longtable*}}% +}% + +\setglossarystyle{mylong} +\setlength\LTleft{0pt} +\setlength\LTright{0pt} +\setlength\glsdescwidth{\linewidth} + +\renewcommand*{\glossarypreamble}{\thispagestyle{empty}\pagestyle{empty}} \fi -\addto\captionsbrazil{% - \renewcommand*{\listfigurename}{Lista de Ilustra\c{c}\~oes}% - \renewcommand*{\contentsname}{Sum\'ario}% - \renewcommand*{\acronymname}{\hfill Lista de Abreviaturas \hfill \mbox{}}% - \renewcommand*{\glssymbolsgroupname}{\hfill Lista de S\'imbolos \hfill \mbox{}}} +\addto\captionsportuges{% +\renewcommand*{\listfigurename}{Lista de Ilustra\c{c}\~oes}% +\renewcommand*{\contentsname}{Sum\'ario}% +\renewcommand*{\acronymname}{\hfill Lista de Abreviaturas \hfill \mbox{}}% +\renewcommand*{\glssymbolsgroupname}{\hfill Lista de S\'imbolos \hfill \mbox{}}} \renewcommand*{\glsclearpage}{\pagestyle{empty}} \renewcommand*{\glossarypostamble}{\pagestyle{empty}\cleardoublepage} @@ -415,8 +401,8 @@ postheadspace=1em \renewcommand{\thechapter}{\Alph{chapter}}% deixa o contador do cap^^c3^^adtulo em alfab^^c3^^a9tico \renewcommand{\chapter}[1]{% redefine o comando do cap^^c3^^adtulo \stepcounter{chapter}% soma 1 ao contador do cap^^c3^^adtulo -\clearpage\phantomsection\thispagestyle{empty}\mbox{}\vfill\begin{center}\MakeUppercase{\textbf{AP\^ENDICE \thechapter\ --} ##1}\end{center}\vfill% adiciona uma folha com a letra e t^^c3^^adtulo do ap^^c3^^aandice -\addcontentsline{toc}{chapter}{\hspace{\cftparanumwidth}AP\^ENDICE \Alph{chapter} -- ##1}% +\cleardoublepage\phantomsection\thispagestyle{empty}\mbox{}\vfill\begin{center}\MakeUppercase{\textbf{AP\^ENDICE \thechapter\ --} ##1}\end{center}\vfill% adiciona uma folha com a letra e t^^c3^^adtulo do ap^^c3^^aandice +\addcontentsline{toc}{chapter}{\hspace{\cftchapternumwidth}AP\^ENDICE \Alph{chapter} -- ##1}% \newpage% }% }% @@ -427,48 +413,46 @@ postheadspace=1em \renewcommand{\thechapter}{\Alph{chapter}}% \renewcommand{\chapter}[1]{% \stepcounter{chapter}% -\clearpage\phantomsection\thispagestyle{empty}\mbox{}\vfill\begin{center}\MakeUppercase{\textbf{ANEXO \thechapter\ --} ##1}\end{center}\vfill% +\cleardoublepage\phantomsection\thispagestyle{empty}\mbox{}\vfill\begin{center}\MakeUppercase{\textbf{ANEXO \thechapter\ --} ##1}\end{center}\vfill% \phantomsection% -\addcontentsline{toc}{chapter}{\hspace{\cftparanumwidth}ANEXO \Alph{chapter} -- ##1}% +\addcontentsline{toc}{chapter}{ANEXO \Alph{chapter} -- ##1}% \newpage% }% }% -\RequirePackage[alf,abnt-emphasize=bf,abnt-repeated-author-omit=yes,abnt-thesis-year=title]{abntex2cite} -\newcommand*{\citefloat}[1]{\citeauthoronline{#1}, \citeyear{#1}} +\RequirePackage[backend=biber, safeinputenc=true, isbn=false, doi=false, style=abnt]{biblatex} -\renewenvironment{quote} - {\begin{singlespace}\list{}{% - \fontsize{10pt}{1em}% - \leftmargin=4cm}% - \item\relax\ignorespaces} - {\endlist\end{singlespace}} - -\renewenvironment{quotation} - {\begin{singlespace}\list{}{% - \fontsize{10pt}{1em}% - \leftmargin=2cm \rightmargin=2cm% - \listparindent .5cm \itemindent}% - \item\relax} - {\endlist\end{singlespace}} - -\newlength{\bibitemsep}\setlength{\bibitemsep}{18pt} -\newlength{\bibparskip}\setlength{\bibparskip}{0pt} % zera o espa^^c3^^a7o entre par^^c3^^a1grafos -\let\oldthebibliography\thebibliography -\renewcommand\thebibliography[1]{% - \oldthebibliography{#1}% - \setlength{\parskip}{\bibparskip}% - \setlength{\itemsep}{\bibitemsep}% +\DefineBibliographyStrings{portuges}{% +bibliography = {REFER\^ENCIAS} } -\let\oldbibliography\bibliography -\renewcommand{\bibliography}[1]{% -\renewcommand{\bibname}{\hfill Refer\^encias \hfill\mbox{}}% muda o nome do titulo (modelo da biblioteca) -\clearpage\phantomsection\addcontentsline{toc}{chapter}{\hspace{\cftparanumwidth}\mdseries REFER\^ENCIAS}% adiciona o titulo ao sumario -\oldbibliography{#1}% adiciona realmente a bibliografia +\newcommand{\citeonline}[1]{\textcite{#1}} + +\renewcommand*{\bibfont}{\raggedright} % bibliografia alinhada ^^c3^^a0 esquerda + +\defbibheading{bibliography}[\bibname]{% +\clearpage\phantomsection\addcontentsline{toc}{chapter}{\bfseries\hspace{\cftchapternumwidth}REFER\^ENCIAS}% adiciona o titulo ao sumario +\hfill \textbf{REFER\^ENCIAS} \hfill\mbox{} } + +\newcommand*{\citefloat}[1]{\citeauthor*{#1}, \citeyear*{#1}} + +\renewenvironment{quote} +{\begin{SingleSpace}\list{}{% +\fontsize{10pt}{1em}% +\leftmargin=4cm}% +\item\relax\ignorespaces} +{\endlist\end{SingleSpace}} + +\renewenvironment{quotation} +{\begin{SingleSpace}\list{}{% +\fontsize{10pt}{1em}% +\leftmargin=2cm \rightmargin=2cm% +\listparindent .5cm \itemindent}% +\item\relax} +{\endlist\end{SingleSpace}} %% -%% Copyright (C) 2015 by Douglas De Rizzo Meneghetti <douglasrizzo@fei.edu.br> +%% Copyright (C) 2016 by Douglas De Rizzo Meneghetti <douglasrizzo@fei.edu.br> %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License (LPPL), either @@ -482,7 +466,7 @@ postheadspace=1em %% %% This work consists of the file fei.dtx, %% and the derived files fei.pdf and -%% fei.cls. +%% fei.cls. %% %% %% End of file `fei.cls'. |