[latex3-commits] [git/LaTeX3-latex3-latex2e] gh639: Undo ltnews's \verbatim at font with active < and > (0d92e88d)

PhelypeOleinik phelype.oleinik at latex-project.org
Sun Aug 8 20:25:45 CEST 2021


Repository : https://github.com/latex3/latex2e
On branch  : gh639
Link       : https://github.com/latex3/latex2e/commit/0d92e88dde0ee788b945a8a70bf131ba09bc01ca

>---------------------------------------------------------------

commit 0d92e88dde0ee788b945a8a70bf131ba09bc01ca
Author: PhelypeOleinik <phelype.oleinik at latex-project.org>
Date:   Sun Aug 8 15:25:45 2021 -0300

    Undo ltnews's \verbatim at font with active < and >


>---------------------------------------------------------------

0d92e88dde0ee788b945a8a70bf131ba09bc01ca
 base/doc/ltnews34.tex | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/base/doc/ltnews34.tex b/base/doc/ltnews34.tex
index f3ba6f64..77ea1a0e 100644
--- a/base/doc/ltnews34.tex
+++ b/base/doc/ltnews34.tex
@@ -106,7 +106,11 @@
 
 \let\finalvspace\vspace          % for document layout fixes
 
-
+% Undo ltnews's \verbatim at font with active < and >
+\makeatletter
+\def\verbatim at font{%
+  \normalsize\ttfamily}
+\makeatletter
 
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 \providecommand\tubcommand[1]{}
@@ -344,7 +348,7 @@ resulting in too few processors in some cases, leading to unpredictable
 behavior.  This bug has been fixed by applying the same argument
 processors to all the embellishments in a set, so a declaration like:
 \begin{verbatim}
-\NewDocumentCommand\foo{>>{\TrimSpaces}e{_^}}
+\NewDocumentCommand\foo{>{\TrimSpaces}e{_^}}
   {(#1)[#2]}
 \foo^{ a }_{ b }
 \end{verbatim}





More information about the latex3-commits mailing list.