texlive[68531] Master/texmf-dist: abntexto (13oct23)
commits+karl at tug.org
commits+karl at tug.org
Fri Oct 13 22:50:19 CEST 2023
Revision: 68531
https://tug.org/svn/texlive?view=revision&revision=68531
Author: karl
Date: 2023-10-13 22:50:19 +0200 (Fri, 13 Oct 2023)
Log Message:
-----------
abntexto (13oct23)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/latex/abntexto/README
trunk/Master/texmf-dist/doc/latex/abntexto/abntexto.pdf
trunk/Master/texmf-dist/doc/latex/abntexto/abntexto.tex
trunk/Master/texmf-dist/tex/latex/abntexto/abntexto.cls
Modified: trunk/Master/texmf-dist/doc/latex/abntexto/README
===================================================================
--- trunk/Master/texmf-dist/doc/latex/abntexto/README 2023-10-13 20:50:07 UTC (rev 68530)
+++ trunk/Master/texmf-dist/doc/latex/abntexto/README 2023-10-13 20:50:19 UTC (rev 68531)
@@ -1,7 +1,7 @@
Public Domain Software
-2023-07-26
-3.0.0-alpha
-Elayson
+2023-10-12
+3.0.1-alpha
+Elayson Abreu Barros
abntexto.classe at gmail.com
The abntexto is a LaTeX class for the elaboration of academic works according
Modified: trunk/Master/texmf-dist/doc/latex/abntexto/abntexto.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/doc/latex/abntexto/abntexto.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/abntexto/abntexto.tex 2023-10-13 20:50:07 UTC (rev 68530)
+++ trunk/Master/texmf-dist/doc/latex/abntexto/abntexto.tex 2023-10-13 20:50:19 UTC (rev 68531)
@@ -87,11 +87,12 @@
\def\tocsectionfont#1{\bfseries#1\mdseries}
\def\sectionfont#1{\bfseries#1}
\def\appendixlabelwidth{6.7em}
-\def \l at section {\addpenalty{-300}\addvspace{1em plus1pt}%
- \extline{0pt}{\toclabelwidth}{\tocsectionfont}}
-\def \l at appendix {\addpenalty{-300}\addvspace{1em plus1pt}%
+
+\def \l at section {\addpenalty{-300}\addvspace{.5em plus1pt}
+ \extline{0pt}{\toclabelwidth}{\tocsectionfont}}
+\def \l at appendix {\addpenalty{-300}\addvspace{.5em plus1pt}%
\extline{0pt}{\appendixlabelwidth}{\maintocfont}}
-\def \l at annex {\addpenalty{-300}\addvspace{1em plus1pt}%
+\def \l at annex {\addpenalty{-300}\addvspace{.5em plus1pt}%
\extline{0pt}{\annexlabelwidth}{\maintocfont}}
\definelegendplace{code}{Código}{cód.\,}{loc}
@@ -119,13 +120,14 @@
\par}
\vskip3in
-{\centering\large\ttfamily 3.0.0-alpha\par}
+{\centering\large\ttfamily 3.0.1-alpha\par}
\newpage
\heading{Sumário}
\maketoc
+\newpage
-\section{Apresentação}
+\section{Introdução}
O |abntexto| é uma classe do \LaTeX\ criada para facilitar a utilização das normas da Associação Brasileira de Normas Técnicas (ABNT) em trabalhos acadêmicos (monografias, dissertações, teses).
@@ -295,9 +297,9 @@
\newpage
-\begcorrprint{Referências}
+\begin{corrprint}{Referências}
\printbibliography
-\endcorrprint
+\end{corrprint}
\newpage
@@ -320,9 +322,9 @@
\begin{document}
O \gls{metalism} e o \gls{lip}.
- \begcorrprint{Glossário}
+ \begin{corrprint}{Glossário}
\printnoidxglossary
- \endcorrprint
+ \end{corrprint}
\end{document}
\endverb
@@ -347,10 +349,10 @@
2ª chamada: \acr{ibge}, \acr{html}.
- \begcorrprint{Lista de siglas}
+ \begin{corrprint}{Lista de siglas}
\def\acronymname{Lista de siglas}
\printnoidxglossary[type=acronym]
- \endcorrprint
+ \end{corrprint}
\end{document}
\endverb
@@ -357,6 +359,8 @@
\appendix{\emph{Feedback}}
Sugestões, relatos de \emph{bugs} e doações são bem-vindas.
+Chave PIX: {\ttfamily abntexto.classe at gmail.com}
+
% MACROS PARA O CÓDIGO-FONTE
% ================================================
Modified: trunk/Master/texmf-dist/tex/latex/abntexto/abntexto.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/abntexto/abntexto.cls 2023-10-13 20:50:07 UTC (rev 68530)
+++ trunk/Master/texmf-dist/tex/latex/abntexto/abntexto.cls 2023-10-13 20:50:19 UTC (rev 68531)
@@ -1,7 +1,7 @@
%! Public Domain Software
-%! 2023-07-26
-%! 3.0.0-alpha
-%! Elayson
+%! 2023-10-12
+%! 3.0.1-alpha
+%! Elayson Abreu Barros
%! abntexto.classe at gmail.com
%! RECOMENDAÇÕES
@@ -30,7 +30,7 @@
% \begin{code} !------------------------------------------------
\NeedsTeXFormat{LaTeX2e}
-\ProvidesClass{abntexto}[2023-07-26 3.0.0-alpha Preparation of works in ABNT standards]
+\ProvidesClass{abntexto}[2023-10-12 3.0.1-alpha Preparation of works in ABNT standards]
\LoadClass{article}
\RequirePackage{geometry}
@@ -321,7 +321,7 @@
% \begin{code} !------------------------------------------------
-\def\begcorrprint#1{\begingroup
+\def\corrprint#1{\begingroup
\addtoext{toc}{section}{#1}%
\def\section##1##2{\heading{##2}}%
}
@@ -448,9 +448,9 @@
\@ifpackageloaded{csquotes}{}{\protected\def\enquote#1{``#1''}}%
}
-\long\def\Enquote#1{\par\removelastskip
+\long\def\Enquote#1{\par\ifdim\lastskip>0pt \vskip-\lastskip \fi
\vskip\baselineskip
- {\noindent\leftskip=4cm \small #1\nbpar}%
+ {\noindent\leftskip=4cm \small \ignorespaces#1\unskip \nbpar}%
\vskip\baselineskip
}
% \end{code} !------------------------------------------------
@@ -558,10 +558,12 @@
}}
\def\place#1{\par \vskip\aboveplace\relax
- \parindent=0pt\parskip=0pt
- \ifx\empty\savedplace\else \printlegend\savedlegend \fi
- \printplace{#1}%
- \printsrc\savedsrc
+ \begingroup
+ \parindent=0pt\parskip=0pt
+ \ifx\empty\savedplace\else \printlegend\savedlegend \fi
+ \printplace{#1}%
+ \printsrc\savedsrc
+ \par\endgroup
\resetplace
\vskip\belowplace\relax
}
More information about the tex-live-commits
mailing list.