summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/fei
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2019-06-01 20:57:47 +0000
committerKarl Berry <karl@freefriends.org>2019-06-01 20:57:47 +0000
commit6070ed6cab88dd0604e7f9e7899de81c4a3729e6 (patch)
tree01bbc4c7864fd757eb5848190d7bc29a411f0f28 /Master/texmf-dist/tex/latex/fei
parent373f363dd7ca12e16f8a8179be9f0980f9b0d787 (diff)
fei (1jun19)
git-svn-id: svn://tug.org/texlive/trunk@51287 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/fei')
-rw-r--r--Master/texmf-dist/tex/latex/fei/fei.cls94
1 files changed, 67 insertions, 27 deletions
diff --git a/Master/texmf-dist/tex/latex/fei/fei.cls b/Master/texmf-dist/tex/latex/fei/fei.cls
index ce028530517..a1255a7f9f0 100644
--- a/Master/texmf-dist/tex/latex/fei/fei.cls
+++ b/Master/texmf-dist/tex/latex/fei/fei.cls
@@ -14,8 +14,14 @@
%% See http://www.latex-project.org/lppl.txt
%% -----------------------------------------------------------------------------------------------------
\NeedsTeXFormat{LaTeX2e}
-\ProvidesClass{fei}[2018/12/17 4.3.1 Modelo da FEI]
+\ProvidesClass{fei}[2019/05/31 4.5.1 Modelo da FEI]
+\DeclareOption{draft}{
+\PassOptionsToClass{\CurrentOption}{memoir}
+}
+\DeclareOption{final}{
+\PassOptionsToClass{\CurrentOption}{memoir}
+}
\DeclareOption{xindy}{
\PassOptionsToPackage{\CurrentOption}{imakeidx}
\PassOptionsToPackage{\CurrentOption}{glossaries-extra}
@@ -35,9 +41,9 @@
\sublistfalse
\DeclareOption{sublist}{\sublisttrue}
-\newif\ifrascunho
-\rascunhofalse
-\DeclareOption{rascunho}{\rascunhotrue}
+\newif\ifdeposito
+\depositofalse
+\DeclareOption{deposito}{\depositotrue}
\newif\ifarial
\DeclareOption{arial}{\arialtrue}
@@ -49,9 +55,15 @@
\DeclareOption{algo-as-figure}{\PassOptionsToPackage{figure}{algorithm2e}}%
+\newif\ifpdfa
+\pdfatrue
+\DeclareOption{nopdfa}{
+\pdfafalse
+}
-\PassOptionsToClass{a4paper}{memoir}
+
+\PassOptionsToClass{a4paper,12pt}{memoir}
\ExecuteOptions{oneside,times}
@@ -220,6 +232,22 @@ postheadspace=1em
\renewcommand*{\cftmapaaftersnum}{\hfill--\hfill}
\setfloatlocations{mapa}{hbtp} % configurando posicionamento padr^^c3^^a3o
+\newcommand{\diagramaname}{Diagrama}
+\newfloat[chapter]{diagrama}{lof}{\diagramaname}
+\newlistentry{diagrama}{lof}{0}
+\counterwithout{diagrama}{chapter}
+\renewcommand{\cftdiagramaname}{\diagramaname\space}
+\renewcommand*{\cftdiagramaaftersnum}{\hfill--\hfill}
+\setfloatlocations{diagrama}{hbtp} % configurando posicionamento padr^^c3^^a3o
+
+\newcommand{\fluxogramaname}{Fluxograma}
+\newfloat[chapter]{fluxograma}{lof}{\fluxogramaname}
+\newlistentry{fluxograma}{lof}{0}
+\counterwithout{fluxograma}{chapter}
+\renewcommand{\cftfluxogramaname}{\fluxogramaname\space}
+\renewcommand*{\cftfluxogramaaftersnum}{\hfill--\hfill}
+\setfloatlocations{fluxograma}{hbtp} % configurando posicionamento padr^^c3^^a3o
+
\newcommand{\organogramaname}{Organograma}
\newfloat[chapter]{organograma}{lof}{\organogramaname}
\newlistentry{organograma}{lof}{0}
@@ -267,10 +295,10 @@ postheadspace=1em
\@startsection{part}{-1}{0pt}{\baselineskip}{\baselineskip}{\cleardoublepage\fontsize{12pt}{14.4pt}\centering\bfseries\MakeUppercase}}
\renewcommand{\chapter}{\cleardoublepage\pagestyle{plain}%
-\@startsection{chapter}{0}{0pt}{1pt}{1pt}{\fontsize{12pt}{14.4pt}\bfseries\MakeUppercase}}
+\@startsection{chapter}{0}{0pt}{\baselineskip}{\baselineskip}{\fontsize{12pt}{14.4pt}\bfseries}}
\renewcommand{\section}{%
-\@startsection{section}{1}{0pt}{\baselineskip}{\baselineskip}{\fontsize{12pt}{14.4pt}\MakeUppercase}}
+\@startsection{section}{1}{0pt}{\baselineskip}{\baselineskip}{\fontsize{12pt}{14.4pt}}}
\renewcommand{\subsection}{%
\@startsection{subsection}{2}{0pt}{\baselineskip}{\baselineskip}{\fontsize{12pt}{14.4pt}\bfseries}}
@@ -354,7 +382,10 @@ postheadspace=1em
\textbf{\MakeUppercase{\@title}}\ifthenelse{\isundefined{\@subtitulo}}{}{: \@subtitulo}
\vfill
\begin{flushright}
-\begin{minipage}{0.55\textwidth}}{\end{minipage}{}
+\begin{minipage}{\textwidth - 8cm}
+\normalsize
+\begin{SingleSpace}
+}{\end{SingleSpace}\end{minipage}{}
\end{flushright}
\vfill
\@cidade\\[0.5em]
@@ -366,10 +397,10 @@ postheadspace=1em
\RequirePackage{pdfpages}
\RequirePackage{ifthen}
\newcommand{\folhadeaprovacao}{
-\ifrascunho
-\thispagestyle{empty}\mbox{}\vfill\begin{center}\begin{Huge}Folha de aprova\c{c}\~{a}o\end{Huge}\vfill\end{center}\cleardoublepage
-\else
+\ifdeposito
\includepdf{ata.pdf}\cleardoublepage
+\else
+\thispagestyle{empty}\mbox{}\vfill\begin{center}\begin{Huge}Folha de aprova\c{c}\~{a}o\end{Huge}\vfill\end{center}\cleardoublepage
\fi
}
@@ -378,10 +409,10 @@ postheadspace=1em
\else
\addtocounter{page}{-1}
\fi
-\ifrascunho
-\thispagestyle{empty}\mbox{}\vfill\begin{center}\begin{Huge}Ficha catalogr\'{a}fica\end{Huge}\vfill\end{center}\cleardoublepage
-\else
+\ifdeposito
\includepdf{ficha.pdf}\cleardoublepage
+\else
+\thispagestyle{empty}\mbox{}\vfill\begin{center}\begin{Huge}Ficha catalogr\'{a}fica\end{Huge}\vfill\end{center}\cleardoublepage
\fi
}
@@ -444,9 +475,17 @@ postheadspace=1em
\oldprintindex%
}%
+\ifpdfa
+\RequirePackage[a-1b]{pdfx}
+\else
+\RequirePackage{hyperref}
+\fi
-
-\RequirePackage[pdftex,pdfborder={0 0 0},colorlinks={false}]{hyperref}
+\hypersetup{%
+pdftex,%
+pdfborder={0 0 0},%
+colorlinks={false}%
+}
\ifglossaries
\ifsublist
@@ -555,19 +594,20 @@ bibliography = {REFER\^ENCIAS}
\newcommand*{\citefloat}[1]{\textcite*{#1}}
\renewenvironment{quote}
-{\begin{SingleSpace}\list{}{%
-\fontsize{10pt}{1em}%
-\leftmargin=4cm}%
-\item\relax\ignorespaces}
-{\endlist\end{SingleSpace}}
+{\begin{flushright}
+\begin{minipage}{\textwidth - 4cm}
+\fontsize{10pt}{1em}
+\begin{SingleSpace}
+}{\end{SingleSpace}\end{minipage}{}
+\end{flushright}}
\renewenvironment{quotation}
-{\begin{SingleSpace}\list{}{%
-\fontsize{10pt}{1em}%
-\leftmargin=2cm \rightmargin=2cm%
-\listparindent .5cm \itemindent}%
-\item\relax}
-{\endlist\end{SingleSpace}}
+{\begin{center}
+\begin{minipage}{\textwidth - 4cm}
+\fontsize{10pt}{1em}
+\begin{SingleSpace}\setlength{\parindent}{1cm}
+}{\end{SingleSpace}\end{minipage}{}
+\end{center}}
%%
%% Copyright (C) 2017 by Douglas De Rizzo Meneghetti <douglasrizzo@fei.edu.br>
%%