summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/fei
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/fei')
-rw-r--r--Master/texmf-dist/tex/latex/fei/fei.cls57
1 files changed, 20 insertions, 37 deletions
diff --git a/Master/texmf-dist/tex/latex/fei/fei.cls b/Master/texmf-dist/tex/latex/fei/fei.cls
index cf80d2790c2..9024e79f8b8 100644
--- a/Master/texmf-dist/tex/latex/fei/fei.cls
+++ b/Master/texmf-dist/tex/latex/fei/fei.cls
@@ -14,60 +14,43 @@
%% See http://www.latex-project.org/lppl.txt
%% -----------------------------------------------------------------------------------------------------
\NeedsTeXFormat{LaTeX2e}
-\ProvidesClass{fei}[2016/09/02 3.0.2 Modelo da FEI]
-\LoadClass[a4paper]{memoir}
+\ProvidesClass{fei}[2017/03/07 3.0.3 Modelo da FEI]
\DeclareOption{xindy}{
\PassOptionsToPackage{\CurrentOption}{imakeidx}
\PassOptionsToPackage{\CurrentOption}{glossaries}
}
\newif\ifrascunho
\rascunhofalse
-\DeclareOption{rascunho}
-{
-\rascunhotrue
-}
+\DeclareOption{rascunho}{\rascunhotrue}
\newif\ifsublist
\sublistfalse
-\DeclareOption{sublist}
-{
-\sublisttrue
-}
+\DeclareOption{sublist}{\sublisttrue}
\newif\ifarial
-\DeclareOption{arial}
-{
-\arialtrue
-}
+\DeclareOption{arial}{\arialtrue}
+\DeclareOption{times}{\arialfalse}
-\DeclareOption{times}
-{
-\arialfalse
-}
+\newif\ifoneside
+\DeclareOption{oneside}{\onesidetrue}
+\DeclareOption{twoside}{\onesidefalse}
-\newif\iftwoside
-\twosidefalse
-\DeclareOption{twoside}
-{
-\twosidetrue
-}
+\DeclareOption{algo-as-figure}{\PassOptionsToPackage{figure}{algorithm2e}}%
-\DeclareOption{algo-as-figure}
-{
-\PassOptionsToPackage{figure}{algorithm2e}
-}
-\iftwoside
-\PassOptionsToClass{twoside}{memoir}
-\else
-\PassOptionsToClass{oneside}{memoir}
-\fi
+\PassOptionsToClass{a4paper}{memoir}
-\ExecuteOptions{times} % processa op^^c3^^a7^^c3^^b5es-padr^^c3^^a3o
+\ExecuteOptions{oneside,times}
\ProcessOptions\relax % processa todas as op^^c3^^a7^^c3^^b5es
+\ifoneside
+\LoadClass[oneside]{memoir}
+\else
+\LoadClass{memoir}
+\fi
+
\RequirePackage[utf8]{inputenc}
\RequirePackage[T1]{fontenc}
\RequirePackage[english,portuges]{babel}
@@ -198,7 +181,7 @@ postheadspace=1em
\@startsection{subsubsection}{3}{0pt}{\baselineskip}{\baselineskip}{\fontsize{12pt}{14.4pt}\bfseries\itshape}}
\renewcommand{\paragraph}{%
-\@startsection{paragraph}{4}{0pt}{\baselineskip}{\baselineskip}{\fontsize{12pt}{14.4pt}\it}}
+\@startsection{paragraph}{4}{0pt}{\baselineskip}{\baselineskip}{\fontsize{12pt}{14.4pt}\itshape}}
\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)
@@ -289,7 +272,7 @@ postheadspace=1em
}
\newcommand{\fichacatalografica}{
-\iftwoside
+\if@twoside
\else
\addtocounter{page}{-1}
\fi
@@ -466,7 +449,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'.