From 1bf864481b4d669293f0176fd20de5c60c4bc00f Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sun, 24 Feb 2013 22:51:51 +0000 Subject: abntex2 (24feb13) git-svn-id: svn://tug.org/texlive/trunk@29221 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/abntex2/abntex2.cls | 66 ++++++++++++++++++---- .../texmf-dist/tex/latex/abntex2/abntex2abrev.sty | 2 +- .../texmf-dist/tex/latex/abntex2/abntex2cite.sty | 9 ++- 3 files changed, 63 insertions(+), 14 deletions(-) (limited to 'Master/texmf-dist/tex/latex/abntex2') diff --git a/Master/texmf-dist/tex/latex/abntex2/abntex2.cls b/Master/texmf-dist/tex/latex/abntex2/abntex2.cls index a1ddf85748b..553d287b959 100644 --- a/Master/texmf-dist/tex/latex/abntex2/abntex2.cls +++ b/Master/texmf-dist/tex/latex/abntex2/abntex2.cls @@ -1,4 +1,4 @@ -%% abntex2.cls, v-1.4 laurocesar +%% abntex2.cls, v-1.5 laurocesar %% Copyright 2012-2013 by abnTeX2 group at http://abntex2.googlecode.com/ %% %% This work may be distributed and/or modified under the @@ -17,6 +17,18 @@ %% %% This work consists of the file abntex2.cls. %% +%% 2013.2.23 11h24 laurocesar +%% Altera o estilo dos cabeçalhos dos artigos para \pagestyle{plain} +%% Adiciona lista de siglas e abreviaturas e lista de símbolos +%% +%% 2013.2.18 09h38 laurocesar +%% Adiciona \bookmarksetup{startatroot} á \textual e \postextual +%% +%% 2013.2.6 22h41 laurocesar +%% Remove \vspace*{1cm} no início da capa e da folha de rosto: como a margem +%% padrão é 3cm superior e 2cm inferior, colocar um espaço de mais 1cm superior +%% deixava o documento com aspecto ruim. +%% %% 2013.2.3 22h10 laurocesar %% Adiciona \partpage, \partanexos e \partapendices %% Modifica comandos de anexos para incluir automaticamente \cftinserthook{toc}{AAA} @@ -172,6 +184,8 @@ \newcommand{\coorientadorname}{Coorientador:} \newcommand{\folhadeaprovacaoname}{Folha de aprova\c{c}\~ao} \newcommand{\resumoname}{Resumo} +\newcommand{\listadesiglasname}{Lista de abreviaturas e siglas} +\newcommand{\listadesimbolosname}{Lista de s\'imbolos} % --- @@ -217,9 +231,9 @@ % Comando que cria capítulos não numerados já com bookmark anotado % --- \newcommand{\pretextualchapter}[1]{% - \addtocounter{abntex@bookmarkcounter}{1} - \PRIVATEbookmarkthis{#1} - \chapter*[#1]{#1} + \addtocounter{abntex@bookmarkcounter}{1}% + \PRIVATEbookmarkthis{#1}% + \chapter*[#1]{#1}% } \provideboolean{abntex@apendiceousecao} \setboolean{abntex@apendiceousecao}{false} @@ -392,16 +406,23 @@ % --- % Configura layout para elementos textuais \newcommand{\textual}{% - \pagestyle{abntheadings} - \aliaspagestyle{chapter}{abntchapfirst}% customizing chapter pagestyle - \nouppercaseheads + \ifthenelse{\equal{\ABNTEXisarticle}{true}}{% + \pagestyle{plain}% + }{%else + \pagestyle{abntheadings}% + \aliaspagestyle{chapter}{abntchapfirst}% customizing chapter pagestyle + } + \nouppercaseheads% + \bookmarksetup{startatroot}% } \renewcommand{\mainmatter}{\textual} % --- % --- % Configura layout para elementos pós-textuais -\newcommand{\postextual}{} +\newcommand{\postextual}{% + \bookmarksetup{startatroot}% +} \renewcommand{\backmatter}{\postextual} % ----- @@ -534,9 +555,32 @@ \begin{onecolabstract} \SingleSpacing }{\end{onecolabstract}\PRIVATEclearpageifneeded} - % --- +% --- +% Lista de abreviaturas e siglas +\newenvironment{siglas}{% + \pretextualchapter{\listadesiglasname} + \begin{symbols} +}{% + \end{symbols} + \cleardoublepage +} +% --- + +% --- +% Lista de símbolos +\newenvironment{simbolos}{% + \pretextualchapter{\listadesimbolosname} + \begin{symbols} +}{% + \end{symbols} + \cleardoublepage +} +% --- + + + % ------------------------------------------------------------------------ % ------------------------------------------------------------------------ % Comandos e ambientes de editoração APENDICES e ANEXOS @@ -697,7 +741,7 @@ \newcommand{\imprimircapa}{% \begin{capa}% \center - \vspace*{1cm} + %\vspace*{1cm} {\ABNTEXchapterfont\large\imprimirautor} \vspace*{\fill} @@ -729,7 +773,7 @@ \newcommand{\folhaderostocontent}{ \begin{center} - \vspace*{1cm} + %\vspace*{1cm} {\ABNTEXchapterfont\large\imprimirautor} \vspace*{\fill}\vspace*{\fill} diff --git a/Master/texmf-dist/tex/latex/abntex2/abntex2abrev.sty b/Master/texmf-dist/tex/latex/abntex2/abntex2abrev.sty index 7721c69dca7..559142a0d5a 100644 --- a/Master/texmf-dist/tex/latex/abntex2/abntex2abrev.sty +++ b/Master/texmf-dist/tex/latex/abntex2/abntex2abrev.sty @@ -1,4 +1,4 @@ -%% abntex2abrev.sty, v-1.4 laurocesar +%% abntex2abrev.sty, v-1.5 laurocesar %% Copyright 2012-2013 by abnTeX2 group at http://abntex2.googlecode.com/ %% %% This work may be distributed and/or modified under the diff --git a/Master/texmf-dist/tex/latex/abntex2/abntex2cite.sty b/Master/texmf-dist/tex/latex/abntex2/abntex2cite.sty index 6886e51b0cd..076924c565d 100644 --- a/Master/texmf-dist/tex/latex/abntex2/abntex2cite.sty +++ b/Master/texmf-dist/tex/latex/abntex2/abntex2cite.sty @@ -1,4 +1,4 @@ -%% abntex2cite.sty, v-1.4 laurocesar +%% abntex2cite.sty, v-1.5 laurocesar %% Copyright 2012-2013 by abnTeX2 group at http://abntex2.googlecode.com/ %% %% This work may be distributed and/or modified under the @@ -106,6 +106,7 @@ % recuo (then makes bibitem indent 1.8em) (default: NO indentation) % recuo= (sets custom indentation) % indent is an alias for recuo (indent or indent=) +% versalete author in alf mode as with smallcaps % other options are considered "\citeoption's" (mechanism includes a % list that stores non defined options, and in \AtBeginDocument, % \citeoption acts over this list) @@ -283,6 +284,10 @@ \DeclareOption{overcite}{\setboolean{ABNTovercite}{true}} \DeclareOption{inlinecite}{\setboolean{ABNTovercite}{false}} +% \authorcapstyle em versalete (smallcaps) como opcional +\newboolean{ABNTversalete} +\setboolean{ABNTversalete}{false} +\DeclareOption{versalete}{\setboolean{ABNTversalete}{true}} % 10520:2002 does not allow (XX) or [XX] for superscript cites \newboolean{ABNTstrictnumformat} @@ -471,7 +476,7 @@ -\newcommand{\authorcapstyle}{\smaller} +\newcommand{\authorcapstyle}{\ifthenelse{\boolean{ABNTversalete}}{\smaller}{}} \newcommand{\authorstyle}{\relax} \newcommand{\yearstyle}{\relax} \newcommand{\optionaltextstyle}{\relax} -- cgit v1.2.3