diff options
author | Karl Berry <karl@freefriends.org> | 2024-04-07 19:57:04 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2024-04-07 19:57:04 +0000 |
commit | 337e06be53a710a168d655c8252b473996838ff5 (patch) | |
tree | 88e51db79478070568500a0ffa9a6dbbebae3659 /Master/texmf-dist | |
parent | c730811dded743d861a0869f7aaa3a2d4cf77296 (diff) |
abntexto (7apr24)
git-svn-id: svn://tug.org/texlive/trunk@70881 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist')
-rw-r--r-- | Master/texmf-dist/doc/latex/abntexto/README | 4 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/abntexto/abntexto.pdf | bin | 258189 -> 260747 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/abntexto/abntexto.tex | 2 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/abntexto/abntexto.cls | 56 |
4 files changed, 40 insertions, 22 deletions
diff --git a/Master/texmf-dist/doc/latex/abntexto/README b/Master/texmf-dist/doc/latex/abntexto/README index 8a027815879..eeaeb92ef60 100644 --- a/Master/texmf-dist/doc/latex/abntexto/README +++ b/Master/texmf-dist/doc/latex/abntexto/README @@ -1,6 +1,6 @@ Public Domain Software -2023-11-13 -3.1.0-beta +2024-06-04 +3.1.1-beta Elayson Abreu abntexto.classe@gmail.com diff --git a/Master/texmf-dist/doc/latex/abntexto/abntexto.pdf b/Master/texmf-dist/doc/latex/abntexto/abntexto.pdf Binary files differindex a1f9ae0faca..c714fcc8d2e 100644 --- a/Master/texmf-dist/doc/latex/abntexto/abntexto.pdf +++ b/Master/texmf-dist/doc/latex/abntexto/abntexto.pdf diff --git a/Master/texmf-dist/doc/latex/abntexto/abntexto.tex b/Master/texmf-dist/doc/latex/abntexto/abntexto.tex index 32dc5e19d7b..a46c613c06a 100644 --- a/Master/texmf-dist/doc/latex/abntexto/abntexto.tex +++ b/Master/texmf-dist/doc/latex/abntexto/abntexto.tex @@ -121,7 +121,7 @@ \par} \vskip3in -{\centering\large\ttfamily 3.1.0-beta\par} +{\centering\large\ttfamily 3.1.1-beta\par} \newpage \nonum\notoc\section{Sumário} diff --git a/Master/texmf-dist/tex/latex/abntexto/abntexto.cls b/Master/texmf-dist/tex/latex/abntexto/abntexto.cls index bdfd09ff5ee..f7a74197fc3 100644 --- a/Master/texmf-dist/tex/latex/abntexto/abntexto.cls +++ b/Master/texmf-dist/tex/latex/abntexto/abntexto.cls @@ -1,6 +1,6 @@ %! Public Domain Software -%! 2023-11-13 -%! 3.1.0-beta +%! 2024-04-06 +%! 3.1.1-beta %! Elayson Abreu %! abntexto.classe@gmail.com @@ -30,7 +30,7 @@ % \begin{code} \NeedsTeXFormat{LaTeX2e} -\ProvidesClass{abntexto}[2023-11-13 3.1.0-beta Preparation of works in ABNT standards] +\ProvidesClass{abntexto}[2024-04-06 3.1.1-beta Preparation of works in ABNT standards] \LoadClass{article} \RequirePackage{geometry} @@ -82,16 +82,21 @@ % A instrução |\textual| põe a numeração de página no topo direito nas páginas ímpares e no topo esquerdo em páginas pares. Além disso, |twoside| vai espelhar as margens horizontais. +% O comando |\eletroniclayout| é útil para leitura do trabalho em {\em display} digital. Para ativar este {\em layout} basta escrever |\let\onesidelayout=\eletroniclayout| e |\let\twosidelayout=\eletroniclayout| no preâmbulo do documento. + % Por algum motivo, |\newgeometry| reseta |\baselineskip| e |\parindent|, então temos de repetir estas instruções. -% \begin{code} -\def\pretextual{% - \let\@oddhead=\empty - \let\@evenhead=\empty - \let\@oddfoot=\empty - \let\@evenfoot=\empty +% \begin{code} +\def\onesidelayout{% + \newgeometry{ + twoside=false, + left = 3cm, + top = 3cm, + right = 2cm, + bottom = 2cm + } } -\def\textual{% +\def\twosidelayout{% \newgeometry{ twoside=true, left = 3cm, @@ -99,6 +104,26 @@ right = 2cm, bottom = 2cm }% +} +\def\eletroniclayout{% + \newgeometry{ + twoside=false, + left = 2.5cm, + top = 3cm, + right = 2.5cm, + bottom = 2cm + }% +} + +\def\pretextual{% + \onesidelayout + \let\@oddhead=\empty + \let\@evenhead=\empty + \let\@oddfoot=\empty + \let\@evenfoot=\empty +} +\def\textual{% + \twosidelayout \spacing{1.5}% \parindent=1.5cm \def\@oddhead{\hfil\small\thepage}% @@ -817,14 +842,7 @@ \spacing{1.5} -\geometry{ - a4paper, - twoside=false, - left=3cm, - top=3cm, - right=2cm, - bottom=2cm -} +\geometry{a4paper} \frenchspacing \parindent=0pt @@ -880,4 +898,4 @@ \AddToHook{begindocument}{\pretextual} \endinput -% \end{code} +% \end{code}
\ No newline at end of file |