summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2017-07-19 21:10:18 +0000
committerKarl Berry <karl@freefriends.org>2017-07-19 21:10:18 +0000
commitfec85108811e17df9da6b86af3313fdbde7ad242 (patch)
tree4e684bc75908292b98b72c7e4092e2df3d7fbe90 /Master/texmf-dist/tex/latex
parent4f4d9fb3a7265823903a72225af5b640acc61633 (diff)
fei (19jul17)
git-svn-id: svn://tug.org/texlive/trunk@44848 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex')
-rw-r--r--Master/texmf-dist/tex/latex/fei/fei.cls29
1 files changed, 21 insertions, 8 deletions
diff --git a/Master/texmf-dist/tex/latex/fei/fei.cls b/Master/texmf-dist/tex/latex/fei/fei.cls
index 02ef3efc8f8..7b4cf21fb2f 100644
--- a/Master/texmf-dist/tex/latex/fei/fei.cls
+++ b/Master/texmf-dist/tex/latex/fei/fei.cls
@@ -14,19 +14,31 @@
%% See http://www.latex-project.org/lppl.txt
%% -----------------------------------------------------------------------------------------------------
\NeedsTeXFormat{LaTeX2e}
-\ProvidesClass{fei}[2017/06/19 3.0.7 Modelo da FEI]
+\ProvidesClass{fei}[2017/07/18 4.0.0 Modelo da FEI]
+
\DeclareOption{xindy}{
\PassOptionsToPackage{\CurrentOption}{imakeidx}
\PassOptionsToPackage{\CurrentOption}{glossaries}
}
-\newif\ifrascunho
-\rascunhofalse
-\DeclareOption{rascunho}{\rascunhotrue}
+\newif\ifglossaries
+\glossariesfalse
+\DeclareOption{symbols}{
+\glossariestrue
+\PassOptionsToPackage{\CurrentOption}{glossaries}
+}
+\DeclareOption{acronym}{
+\glossariestrue
+\PassOptionsToPackage{\CurrentOption}{glossaries}
+}
\newif\ifsublist
\sublistfalse
\DeclareOption{sublist}{\sublisttrue}
+\newif\ifrascunho
+\rascunhofalse
+\DeclareOption{rascunho}{\rascunhotrue}
+
\newif\ifarial
\DeclareOption{arial}{\arialtrue}
\DeclareOption{times}{\arialfalse}
@@ -164,7 +176,6 @@ postheadspace=1em
\tightlists
- % troca o itemize pelo enumerate (seguindo o manual da biblioteca)
\renewenvironment{itemize}{\begin{enumerate}}{\end{enumerate}}
\renewcommand{\floatpagefraction}{.8} % p^^c3^^a1gina ter^^c3^^a1 apenas floats se o float ocupar pelo menos 80% da p^^c3^^a1gina
@@ -344,8 +355,9 @@ postheadspace=1em
\RequirePackage[pdftex,pdfborder={0 0 0},colorlinks={false}]{hyperref}
+\ifglossaries
\ifsublist
-\RequirePackage[symbols,nomain,acronym,nonumberlist]{glossaries}
+\RequirePackage[nomain,nonumberlist]{glossaries}
\setglossarystyle{alttree}
\glssetwidest[0]{}
\glssetwidest[1]{aaaaaaaaaaaa}
@@ -353,7 +365,7 @@ postheadspace=1em
\renewcommand*{\glossarypreamble}{\thispagestyle{empty}\pagestyle{empty}\vspace*{-2\baselineskip}}
\else
-\RequirePackage[symbols,nomain,acronym,nonumberlist,nogroupskip]{glossaries}
+\RequirePackage[nomain,nonumberlist,nogroupskip]{glossaries}
\newglossarystyle{mylong}{%
\setglossarystyle{long}% base this style on the long style
@@ -369,6 +381,7 @@ postheadspace=1em
\renewcommand*{\glossarypreamble}{\thispagestyle{empty}\pagestyle{empty}}
\fi
+\fi
\addto\captionsbrazil{%
\renewcommand*{\listfigurename}{Lista de Ilustra\c{c}\~oes}%
@@ -455,7 +468,7 @@ bibliography = {REFER\^ENCIAS}
%%
%% This work consists of the file fei.dtx,
%% and the derived files fei.pdf and
-%% fei.cls.
+%% fei.cls.
%%
%%
%% End of file `fei.cls'.