From fec85108811e17df9da6b86af3313fdbde7ad242 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Wed, 19 Jul 2017 21:10:18 +0000 Subject: fei (19jul17) git-svn-id: svn://tug.org/texlive/trunk@44848 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/fei/fei.cls | 29 +++++++++++++++++++++-------- 1 file changed, 21 insertions(+), 8 deletions(-) (limited to 'Master/texmf-dist/tex/latex/fei') 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'. -- cgit v1.2.3