summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/abntexto
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2023-10-13 20:50:19 +0000
committerKarl Berry <karl@freefriends.org>2023-10-13 20:50:19 +0000
commitc45b87421086b64f7d64052b4c2eb42f7490a272 (patch)
tree0e5003c6893bedee17107fbb61c65237064d83a9 /Master/texmf-dist/tex/latex/abntexto
parenta364e3158532c14442365d6adbe25577258aef4f (diff)
abntexto (13oct23)
git-svn-id: svn://tug.org/texlive/trunk@68531 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/abntexto')
-rw-r--r--Master/texmf-dist/tex/latex/abntexto/abntexto.cls24
1 files changed, 13 insertions, 11 deletions
diff --git a/Master/texmf-dist/tex/latex/abntexto/abntexto.cls b/Master/texmf-dist/tex/latex/abntexto/abntexto.cls
index 6cfcd2a27e6..cfeb322f0b2 100644
--- a/Master/texmf-dist/tex/latex/abntexto/abntexto.cls
+++ b/Master/texmf-dist/tex/latex/abntexto/abntexto.cls
@@ -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
}