summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/abntex2/abntex2.cls
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2013-02-05 23:41:29 +0000
committerKarl Berry <karl@freefriends.org>2013-02-05 23:41:29 +0000
commit43e8013efcfdb70cd65e67fe1efb27fc1307e106 (patch)
treed9885635a41a19edc1b4eacc358240871403705b /Master/texmf-dist/tex/latex/abntex2/abntex2.cls
parente9a0efc06e926644568e9975bdc6c46044423d36 (diff)
abntex2 (5feb13)
git-svn-id: svn://tug.org/texlive/trunk@29038 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/abntex2/abntex2.cls')
-rw-r--r--Master/texmf-dist/tex/latex/abntex2/abntex2.cls34
1 files changed, 31 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/latex/abntex2/abntex2.cls b/Master/texmf-dist/tex/latex/abntex2/abntex2.cls
index 1a427c35221..a1ddf85748b 100644
--- a/Master/texmf-dist/tex/latex/abntex2/abntex2.cls
+++ b/Master/texmf-dist/tex/latex/abntex2/abntex2.cls
@@ -1,5 +1,5 @@
-%% abntex2.cls, v-1.3 laurocesar
-%% Copyright 2012-2013 by abnTeX2 group at http://code.google.com/p/abntex2/
+%% abntex2.cls, v-1.4 laurocesar
+%% Copyright 2012-2013 by abnTeX2 group at http://abntex2.googlecode.com/
%%
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either version 1.3
@@ -13,10 +13,14 @@
%%
%% The Current Maintainer of this work is the abnTeX2 team, led
%% by Lauro César Araujo. Further information are available on
-%% http://code.google.com/p/abntex2/
+%% http://abntex2.googlecode.com/
%%
%% This work consists of the file abntex2.cls.
%%
+%% 2013.2.3 22h10 laurocesar
+%% Adiciona \partpage, \partanexos e \partapendices
+%% Modifica comandos de anexos para incluir automaticamente \cftinserthook{toc}{AAA}
+%%
%% 2013.1.16 18h46 laurocesar
%% Altera o \ABNTEXchapterfont para usar \sffamily
%%
@@ -571,27 +575,51 @@
}{
\end{appendix}
\setboolean{abntex@apendiceousecao}{false}
+ \bookmarksetup{startatroot}
}
% ---
% ---
% Anexos - comando
\newcommand{\anexos}{%
+ \cftinserthook{toc}{AAA}
+
\PRIVATEapendiceconfig{\anexoname}{\anexosname}
\appendix
\renewcommand\theHchapter{anexochapback.\arabic{chapter}}
}
% Anexos - ambiente
\newenvironment{anexosenv}{%
+ \cftinserthook{toc}{AAA}
+
\PRIVATEapendiceconfig{\anexoname}{\anexosname}
\begin{appendix}
\renewcommand\theHchapter{anexochapback.\arabic{chapter}}
}{
\end{appendix}
\setboolean{abntex@apendiceousecao}{false}
+ \bookmarksetup{startatroot}
+}
+% ---
+
+% ---
+% Imprime uma página de divisão no estilo parte
+\newcommand{\partpage}{%
+ \cleardoublepage
+ \phantomsection
+ \addcontentsline{toc}{part}{\appendixpagename}
+ \appendixpage*
}
+
+% atalhos para \partpage ou \appendixpage*
+\makeatletter
+\newcommand{\partapendices}{\@ifstar{\appendixpage*}{\partpage}}
+
+\newcommand{\partanexos}{\@ifstar{\appendixpage*}{\partpage}}
+\makeatother
% ---
+
% ------------------------------------------------------------------------
% ------------------------------------------------------------------------
% Comandos e ambientes de editoração CITACAO, ALINEA, INCISO, ASSINATURA