diff options
author | Karl Berry <karl@freefriends.org> | 2016-03-01 23:38:06 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2016-03-01 23:38:06 +0000 |
commit | 6f6c6461f6184d66c2e54fbcdeacec4897cd16d7 (patch) | |
tree | 0bf23442e4f622dd0a561694303cf399f3a7c3a2 /Master/texmf-dist/tex/latex/abntex2/abntex2.cls | |
parent | ac53510efef3bc751ae064b6d8b1146e7d5a0e0d (diff) |
abntex2 (28feb16)
git-svn-id: svn://tug.org/texlive/trunk@39913 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.cls | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/Master/texmf-dist/tex/latex/abntex2/abntex2.cls b/Master/texmf-dist/tex/latex/abntex2/abntex2.cls index d6a8b0e9610..e25c3faa869 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.9.5 laurocesar -%% Copyright 2012-2015 by abnTeX2 group at https://www.abntex.net.br/ +%% abntex2.cls, v-1.9.6 laurocesar +%% Copyright 2012-2016 by abnTeX2 group at https://www.abntex.net.br/ %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 @@ -23,7 +23,7 @@ % ------------------------------------------------------------------------ % ------------------------------------------------------------------------ \NeedsTeXFormat{LaTeX2e} -\ProvidesClass{abntex2}[2015/04/28 v1.9.5 abnTeX2] +\ProvidesClass{abntex2}[2016/02/26 v-1.9.6 abnTeX2] \RequirePackage{ifthen} % % Captura as options article e twocolumn @@ -306,20 +306,13 @@ % ------------------------------------------------------------------------ % --- -% Notas de rodape - NBR 14724/2011 - 5.2.1 -\makeatletter -\renewcommand\@makefntext[1]{\hangindent=1.2em\leftskip=0.4em\hskip-0.4em\@makefnmark\hskip1.2em\relax#1} -%\renewcommand\@makefntext[1]{\leftskip=0.7cm\hskip-0.15cm\@makefnmark#1} -\makeatother -\renewcommand{\foottextfont}{\ABNTEXfontereduzida} +% Notas de rodape - footnotes - NBR 14724/2011 - 5.2.1 +\setlength{\footmarkwidth}{1.2em} % largura do footnotemark +\setlength{\footmarksep}{0em} +\footmarkstyle{\footnotesize{\textsuperscript{#1}}\hfill} -% Virgula em footnote consecutiva -\let\oldFootnote\footnote -\newcommand\nextToken\relax -\renewcommand\footnote[1]{% - \oldFootnote{#1}\futurelet\nextToken\isFootnote} -\newcommand\isFootnote{% - \ifx\footnote\nextToken\textsuperscript{,}\fi} +% tamanho da fonte do footnote +\renewcommand{\foottextfont}{\ABNTEXfontereduzida} % --- % --- @@ -336,8 +329,10 @@ % --- % Estilos de caption +% --- \hangcaption -\captiondelim{~\textendash~} +\newcommand{\ABNTEXcaptiondelim}{~\textendash~} +\newcommand{\ABNTEXcaptionfontedelim}{:~} %\captionnamefont{\ABNTEXfontereduzida} %\captiontitlefont{\ABNTEXfontereduzida} @@ -348,7 +343,7 @@ \AtBeginDocument{% % comandos auxiliares para manipular os captions dentro do comando \IBGEtab. \newcommand{\configurecaptions}{\captionstyle[\raggedright]{}} - \newcommand{\configureseparator}{\captiondelim{: }} + \newcommand{\configureseparator}{\captiondelim{\ABNTEXcaptiondelim}} % Define o comando \IBGEtab{}{}{} com caption e legenda da largura do conteúdo tabular, tabular*, etc % Parece funcionar com qualque pacote \newsavebox{\myptabbox} @@ -382,7 +377,8 @@ \@setminipage \fi \ABNTEXfontereduzida - \configureseparator + %\configureseparator + \captiondelim{\ABNTEXcaptionfontedelim} \@makecaption{\ABNTEXfontereduzida #1}{\ignorespaces\ABNTEXfontereduzida #2}\par \endgroup} \makeatother @@ -397,7 +393,7 @@ % o pacote caption e amigos. \AtEndPackage{caption}{ \AtBeginDocument{% - \DeclareCaptionLabelSeparator{barr}{~\textendash~} + \DeclareCaptionLabelSeparator{barr}{\ABNTEXcaptiondelim} \DeclareCaptionFont{ABNTEXfontereduzida}{\ABNTEXfontereduzida} \captionsetup{format=hang, labelseparator=barr, @@ -410,6 +406,10 @@ \renewcommand{\configureseparator}{\captionsetup{labelsep=colon}} } } + +\AtBeginDocument{ + \captiondelim{\ABNTEXcaptiondelim} +} % --- % ----- @@ -530,10 +530,10 @@ \renewcommand{\cftsubsectionfont}{\normalsize} \renewcommand{\cftsubsectionpagefont}{\cftsubsectionfont} % - \renewcommand{\cftsubsubsectionfont}{\smaller} + \renewcommand{\cftsubsubsectionfont}{\small} \renewcommand{\cftsubsubsectionpagefont}{\cftsubsubsectionfont} % - \renewcommand{\cftparagraphfont}{\smaller\smaller} + \renewcommand{\cftparagraphfont}{\footnotesize} \renewcommand{\cftparagraphpagefont}{\cftparagraphfont} % % Ajusta entrada Referencias @@ -625,7 +625,7 @@ \space\thechapter\space% \ifthenelse{\boolean{abntex@apendiceousecao}}{% \tocinnonumchapter - ~\textendash~% + \ABNTEXcaptiondelim% }{} % else } \renewcommand{\afterchapternum}{} |