[latex3-commits] [latex3/latex2e] gh1448: document use of special uccodes for catcode 12 tokens (d5e986365)

github at latex-project.org github at latex-project.org
Wed Oct 30 12:23:49 CET 2024


Repository : https://github.com/latex3/latex2e
On branch  : gh1448
Link       : https://github.com/latex3/latex2e/commit/d5e986365bf12d5bf2440d725a98c3903b73c7a7

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

commit d5e986365bf12d5bf2440d725a98c3903b73c7a7
Author: David Carlisle <d.p.carlisle at gmail.com>
Date:   Wed Oct 30 11:23:49 2024 +0000

    document use of special uccodes for catcode 12 tokens


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

d5e986365bf12d5bf2440d725a98c3903b73c7a7
 required/amsmath/amsmath.dtx | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/required/amsmath/amsmath.dtx b/required/amsmath/amsmath.dtx
index bdd9797b7..8e49c3e28 100644
--- a/required/amsmath/amsmath.dtx
+++ b/required/amsmath/amsmath.dtx
@@ -1002,6 +1002,10 @@ Foreign command \@backslashchar#1;\MessageBreak
 \let\DOTSI\relax
 \let\DOTSB\relax
 \let\DOTSX\relax
+    \end{macrocode}
+%  In the definitions below, special \cs{uccode}s are used to generate macros
+%  with arguments delimited by catcode 12 letters as returned by \cs{meaning}.
+%    \begin{macrocode}
 {\uccode`7=`\\ \uccode`8=`m \uccode`9=`a \uccode`0=`t \uccode`!=`h
  \uppercase{%
   \gdef\math@#1#2#3#4#5#6\math@{\gtest at false\ifx 7#1\ifx 8#2%





More information about the latex3-commits mailing list.