[latex3-commits] [git/LaTeX3-latex3-latex2e] gh303: provide math/text spacing commands from amsmath already in the kernel #303 (890b583b)
Frank Mittelbach
frank.mittelbach at latex-project.org
Sat Mar 7 19:23:11 CET 2020
Repository : https://github.com/latex3/latex2e
On branch : gh303
Link : https://github.com/latex3/latex2e/commit/890b583b589b53c308d5bb0ea1b273597cb2c56e
>---------------------------------------------------------------
commit 890b583b589b53c308d5bb0ea1b273597cb2c56e
Author: Frank Mittelbach <frank.mittelbach at latex-project.org>
Date: Sat Mar 7 19:23:11 2020 +0100
provide math/text spacing commands from amsmath already in the kernel #303
>---------------------------------------------------------------
890b583b589b53c308d5bb0ea1b273597cb2c56e
base/changes.txt | 8 ++
base/ltmath.dtx | 109 +++++++++++++++++---
base/ltspace.dtx | 22 +---
.../github-0069.lvt => testfiles/github-0303.lvt} | 9 +-
base/testfiles/github-0303.tlg | 113 +++++++++++++++++++++
base/testfiles/github-robust-0123.tlg | 4 +-
required/amsmath/amsmath.dtx | 35 +++++--
required/amsmath/changes.txt | 7 ++
.../amsmath/testfiles/github-amsrobust-0123.tlg | 34 +++----
9 files changed, 278 insertions(+), 63 deletions(-)
diff --git a/base/changes.txt b/base/changes.txt
index 6b44680c..9c3b07cf 100644
--- a/base/changes.txt
+++ b/base/changes.txt
@@ -1,3 +1,11 @@
+2020-03-07 Frank Mittelbach <Frank.Mittelbach at latex-project.org>
+
+ * ltspace.dtx: Moved \cs{thinspace}, \cs{negthinspace} and \cs{,} to
+ ltmath.dtx (gh/303)
+
+ * ltmath.dtx (subsubsection{The UNSORTED Rest}):
+ Add \texttt{amsmath} math/text spacing commands to the kernel (gh/303)
+
================================================================================
This file lists changes to the LaTeX2e files in reverse chronological order of
publication (therefore the dates might be out of sequence if there are hotfixes).
diff --git a/base/ltmath.dtx b/base/ltmath.dtx
index 86e62e7b..e4c5051f 100644
--- a/base/ltmath.dtx
+++ b/base/ltmath.dtx
@@ -38,7 +38,7 @@
%<*driver>
% \fi
\ProvidesFile{ltmath.dtx}
- [2020/02/18 v1.2d LaTeX Kernel (Math Setup)]
+ [2020/03/07 v1.2e LaTeX Kernel (Math Setup)]
% \iffalse
%</driver>
%
@@ -509,18 +509,103 @@
% \end{macro}
% \end{macro}
%
-% \begin{macro}{\>}
-% \begin{macro}{\;}
-% \begin{macro}{\!}
+
+
+%
+% \begin{macro}{\tmspace}
+% \begin{macro}{\,}
+% \begin{macro}{\thinspace}
+% \begin{macro}{\!}
+% \begin{macro}{\negthinspace}
+% \begin{macro}{\:}
+% \begin{macro}{\medspace}
+% \begin{macro}{\negmedspace}
+% \begin{macro}{\;}
+% \begin{macro}{\thickspace}
+% \begin{macro}{\negthickspace}
+%
+% Originally \LaTeX{} only provided a small set of spacing commands
+% for use in text and math, some of the commands like \cs{;} were
+% only supported in manth mode. \texttt{amsmath} normalized and
+% provided all of them in text and math. This code has now been
+% moved to the kernel so that it is generally available.
+%
+%
% \begin{macrocode}
-%\def\,{\mskip\thinmuskip} % already defined in ltspace
-\def\>{\mskip\medmuskip}
-\def\;{\mskip\thickmuskip}
-\def\!{\mskip-\thinmuskip}
+%</2ekernel>
+%<*2ekernel|latexrelease>
+%<latexrelease>\IncludeInRelease{2020/10/01}%
+%<latexrelease> {\tmspace}{amsmath spacing commands}%
% \end{macrocode}
-% \end{macro}
-% \end{macro}
-% \end{macro}
+% \cs{tmspace} is really meant to be an internal command so it
+% doesn't necessarily has to be robust but it was robust in
+% \textt{amsmath} so we leave it like that.
+% \changes{v1.2e}{2020/03/07}{Add \texttt{amsmath} math/text spacing
+% commands to the kernel (gh/303)}
+% \begin{macrocode}
+\DeclareRobustCommand\tmspace[3]{%
+ \ifmmode\mskip#1#2\else\leavevmode at ifvmode\kern#1#3\fi\relax}
+% \end{macrocode}
+% In \texttt{amsmath} the text kern is \textt{.1667em}. For
+% compatibility reasons we keep the longer one.
+% \begin{macrocode}
+\DeclareRobustCommand\,{\tmspace+\thinmuskip{.16667em}}
+\let\thinspace\,
+% \end{macrocode}
+%
+% \begin{macrocode}
+\DeclareRobustCommand\!{\tmspace-\thinmuskip{.16667em}}
+\let\negthinspace\!
+% \end{macrocode}
+%
+% \begin{macrocode}
+\DeclareRobustCommand\:{\tmspace+\medmuskip{.2222em}}
+\let\medspace\:
+% \end{macrocode}
+% \LaTeX{} has a second name for this in its manual:
+% \begin{macrocode}
+\let\>=\:
+\DeclareRobustCommand\negmedspace{\tmspace-\medmuskip{.2222em}}
+% \end{macrocode}
+%
+% \begin{macrocode}
+\DeclareRobustCommand\;{\tmspace+\thickmuskip{.2777em}}
+\let\thickspace\;
+\DeclareRobustCommand\negthickspace{\tmspace-\thickmuskip{.2777em}}
+%</2ekernel|latexrelease>
+%<latexrelease>\EndIncludeInRelease
+% \end{macrocode}
+%
+% \begin{macrocode}
+%<latexrelease>\IncludeInRelease{0000/00/00}%
+%<latexrelease> {\tmspace}{amsmath spacing commands}%
+%<latexrelease>
+%<latexrelease>\let\tmspace\@undefined
+%<latexrelease>\DeclareRobustCommand{\,}{%
+%<latexrelease> \relax\ifmmode\mskip\thinmuskip\else\thinspace\fi}
+%<latexrelease>\DeclareRobustCommand\thinspace{\leavevmode at ifvmode\kern .16667em }
+%<latexrelease>\DeclareRobustCommand\negthinspace{\leavevmode at ifvmode\kern-.16667em }
+%<latexrelease>\def\>{\mskip\medmuskip}
+%<latexrelease>\let\:=\>
+%<latexrelease>\def\;{\mskip\thickmuskip}
+%<latexrelease>\def\!{\mskip-\thinmuskip}
+%<latexrelease>
+%<latexrelease>\EndIncludeInRelease
+%<*2ekernel>
+% \end{macrocode}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+% \end{macro}
+%
+%
%
% \begin{macro}{\*}
% \begin{macrocode}
@@ -532,7 +617,7 @@
% Nickname for the medium space since |\>| is not available inside
% \texttt{tabbing}.
% \begin{macrocode}
-\let\:=\>
+%\let\:=\>
% \end{macrocode}
% \end{macro}
%
diff --git a/base/ltspace.dtx b/base/ltspace.dtx
index 16d7dcb4..abbdf9eb 100644
--- a/base/ltspace.dtx
+++ b/base/ltspace.dtx
@@ -32,7 +32,7 @@
%<*driver>
% \fi
\ProvidesFile{ltspace.dtx}
- [2019/11/02 v1.3k LaTeX Kernel (spacing)]
+ [2020/03/07 v1.3l LaTeX Kernel (spacing)]
% \iffalse
\documentclass{ltxdoc}
\GetFileInfo{ltspace.dtx}
@@ -63,6 +63,8 @@
% \changes{v1.2r}{1996/07/27}{Correct documentation of problems}
% \changes{v1.2w}{1998/08/17}{Documentation fixes.}
% \changes{v1.3j}{2019/08/27}{Make various commands robust}
+% \changes{v1.3l}{2020/03/07}{Moved \cs{thinspace}, \cs{negthinspace}
+% and \cs{,} toltmath.dtx (gh/303)}
%
%
% \section{Spacing}
@@ -1094,17 +1096,6 @@
% \end{macrocode}
%
%
-% \begin{macro}{\,}
-% Used in paragraph mode produces a |\thinspace|. It has the
-% ordinary definition in math mode. Useful for quotes inside quotes,
-% as in |``\,`Foo', he said.''|
-% \changes{v1.0o}{1994/05/11}{Use \cs{DeclareRobustCommand}. ASAJ.}
-% \begin{macrocode}
-\DeclareRobustCommand{\,}{%
- \relax\ifmmode\mskip\thinmuskip\else\thinspace\fi
-}
-% \end{macrocode}
-% \end{macro}
%
% \begin{macro}{\@}
% Placed before a '.', makes it a sentence-ending period. Does the
@@ -1184,19 +1175,12 @@
%<latexrelease> {\thinspace}{Start LR-mode}%
% \end{macrocode}
%
-%
-% \begin{macro}{\thinspace}
-% \begin{macro}{\negthinspace}
% \begin{macro}{\enspace}
% \changes{v1.3h}{2018/09/24}{Start LR-mode if necessary (git/49)}
% \begin{macrocode}
-\DeclareRobustCommand\thinspace{\leavevmode at ifvmode\kern .16667em }
-\DeclareRobustCommand\negthinspace{\leavevmode at ifvmode\kern-.16667em }
\DeclareRobustCommand\enspace{\leavevmode at ifvmode\kern.5em }
% \end{macrocode}
% \end{macro}
-% \end{macro}
-% \end{macro}
%
% \begin{macro}{\leavevmode at ifvmode}
% Leave vmode but only if we are really in vmode, otherwise the
diff --git a/base/testfiles-legacy/github-0069.lvt b/base/testfiles/github-0303.lvt
similarity index 57%
copy from base/testfiles-legacy/github-0069.lvt
copy to base/testfiles/github-0303.lvt
index 87ec5f67..55bc73a7 100644
--- a/base/testfiles-legacy/github-0069.lvt
+++ b/base/testfiles/github-0303.lvt
@@ -8,10 +8,11 @@
\START
-\verb*|x x|
+\setlength{\parindent}{0pt}
-\begin{verbatim*}
- A B C
-\end{verbatim*}
+X\,X \par
+X\:X \par
+X\;X \par
+X\!X \par
\end{document}
diff --git a/base/testfiles/github-0303.tlg b/base/testfiles/github-0303.tlg
new file mode 100644
index 00000000..957e75c8
--- /dev/null
+++ b/base/testfiles/github-0303.tlg
@@ -0,0 +1,113 @@
+This is a generated file for the LaTeX2e validation system.
+Don't change this file in any respect.
+! Missing $ inserted.
+<inserted text>
+ $
+l. ...X\:
+ X \par
+I've inserted a begin-math/end-math symbol since I think
+you left one out. Proceed, with fingers crossed.
+LaTeX Font Info: External font `cmex10' loaded for size
+(Font) <7> on input line ....
+LaTeX Font Info: External font `cmex10' loaded for size
+(Font) <5> on input line ....
+! Missing $ inserted.
+<inserted text>
+ $
+l. ...X\:X \par
+I've inserted a begin-math/end-math symbol since I think
+you left one out. Proceed, with fingers crossed.
+! Missing $ inserted.
+<inserted text>
+ $
+l. ...X\;
+ X \par
+I've inserted a begin-math/end-math symbol since I think
+you left one out. Proceed, with fingers crossed.
+! Missing $ inserted.
+<inserted text>
+ $
+l. ...X\;X \par
+I've inserted a begin-math/end-math symbol since I think
+you left one out. Proceed, with fingers crossed.
+! Missing $ inserted.
+<inserted text>
+ $
+l. ...X\!
+ X \par
+I've inserted a begin-math/end-math symbol since I think
+you left one out. Proceed, with fingers crossed.
+! Missing $ inserted.
+<inserted text>
+ $
+l. ...X\!X \par
+I've inserted a begin-math/end-math symbol since I think
+you left one out. Proceed, with fingers crossed.
+Completed box being shipped out [1]
+\vbox(633.0+0.0)x407.0
+.\glue 16.0
+.\vbox(617.0+0.0)x345.0, shifted 62.0
+..\vbox(12.0+0.0)x345.0, glue set 12.0fil
+...\glue 0.0 plus 1.0fil
+...\hbox(0.0+0.0)x345.0
+..\glue 25.0
+..\glue(\lineskip) 0.0
+..\vbox(550.0+0.0)x345.0, glue set 503.94617fil
+...\write-{}
+...\glue(\topskip) 3.16669
+...\hbox(6.83331+0.0)x345.0, glue set 328.33325fil
+....\hbox(0.0+0.0)x0.0
+....\OT1/cmr/m/n/10 X
+....\kern 1.66672
+....\OT1/cmr/m/n/10 X
+....\penalty 10000
+....\glue(\parfillskip) 0.0 plus 1.0fil
+....\glue(\rightskip) 0.0
+...\glue(\parskip) 0.0 plus 1.0
+...\glue(\baselineskip) 5.16669
+...\hbox(6.83331+0.0)x345.0, glue set 326.20839fil
+....\hbox(0.0+0.0)x0.0
+....\OT1/cmr/m/n/10 X
+....\mathon
+....\glue 2.22217 plus 1.11108 minus 2.22217
+....\OML/cmm/m/it/10 X
+....\kern0.7847
+....\mathoff
+....\penalty 10000
+....\glue(\parfillskip) 0.0 plus 1.0fil
+....\glue(\rightskip) 0.0
+...\glue(\parskip) 0.0 plus 1.0
+...\glue(\baselineskip) 5.16669
+...\hbox(6.83331+0.0)x345.0, glue set 325.65285fil
+....\hbox(0.0+0.0)x0.0
+....\OT1/cmr/m/n/10 X
+....\mathon
+....\glue 2.77771 plus 2.77771
+....\OML/cmm/m/it/10 X
+....\kern0.7847
+....\mathoff
+....\penalty 10000
+....\glue(\parfillskip) 0.0 plus 1.0fil
+....\glue(\rightskip) 0.0
+...\glue(\parskip) 0.0 plus 1.0
+...\glue(\baselineskip) 5.16669
+...\hbox(6.83331+0.0)x345.0, glue set 330.09718fil
+....\hbox(0.0+0.0)x0.0
+....\OT1/cmr/m/n/10 X
+....\mathon
+....\glue -1.66663
+....\OML/cmm/m/it/10 X
+....\kern0.7847
+....\mathoff
+....\penalty 10000
+....\glue(\parfillskip) 0.0 plus 1.0fil
+....\glue(\rightskip) 0.0
+...\glue 0.0 plus 1.0fil
+...\glue 0.0
+...\glue 0.0 plus 0.0001fil
+..\glue(\baselineskip) 23.55556
+..\hbox(6.44444+0.0)x345.0, glue set 170.0fil
+...\glue 0.0 plus 1.0fil
+...\OT1/cmr/m/n/10 1
+...\glue 0.0 plus 1.0fil
+(github-0303.aux)
diff --git a/base/testfiles/github-robust-0123.tlg b/base/testfiles/github-robust-0123.tlg
index ca626127..66897506 100644
--- a/base/testfiles/github-robust-0123.tlg
+++ b/base/testfiles/github-robust-0123.tlg
@@ -1316,7 +1316,7 @@ l. ...\show\Downarrow
---------------------------------------
\nearrow -> \nearrow
---------------------------------------
-\negthinspace -> \negthinspace
+\negthinspace -> \!
---------------------------------------
\neg -> \neg
---------------------------------------
@@ -1924,7 +1924,7 @@ l. ...\show\Downarrow
---------------------------------------
\thinmuskip -> \thinmuskip
---------------------------------------
-\thinspace -> \thinspace
+\thinspace -> \,
---------------------------------------
\th -> \th
---------------------------------------
diff --git a/required/amsmath/amsmath.dtx b/required/amsmath/amsmath.dtx
index fdd83a90..b210fb8f 100644
--- a/required/amsmath/amsmath.dtx
+++ b/required/amsmath/amsmath.dtx
@@ -86,7 +86,7 @@ Bug reports can be opened (category \texttt{#1}) at\\%
% \end{macrocode}
%
% \begin{macrocode}
-\ProvidesPackage{amsmath}[2020/02/20 v2.17f AMS math features]
+\ProvidesPackage{amsmath}[2020/03/07 v2.17g AMS math features]
% \end{macrocode}
%
% \section{Catcode defenses}
@@ -466,24 +466,41 @@ For additional information on amsmath, use the \lq ?\rq\space option.%
% \cs{DeclareRobustCommand}.
% \changes{v2.17b}{2018/12/01}{Start LR-mode for \cs{thinspace} and
% friends if necessary (github/49)}
+%
+% We start by undefining a number of commands (which in a current
+% \LaTeX{} kernel will be defined, so that the
+% \cs{DeclareRobustCommand} declarations below do not add a
+% ``Command redefined'' info into the log.
+% \begin{macrocode}
+\let\tmspace\@undefined
+\let\,\@undefined
+\let\!\@undefined
+\let\:\@undefined
+\let\negmedspace\@undefined
+\let\negthickspace\@undefined
+% \end{macrocode}
+%
+%
+% \changes{v2.17g}{2020/03/07}{Math/text spacing commands are now in
+% the \LaTeX{} kernel and are made robust (gh/303)}
% \begin{macrocode}
\ifx\leavevmode at ifvmode\@undefined
-\DeclareRobustCommand{\tmspace}[3]{%
+\DeclareRobustCommand\tmspace[3]{%
\ifmmode\mskip#1#2\else\kern#1#3\fi\relax}
\else
-\DeclareRobustCommand{\tmspace}[3]{%
+\DeclareRobustCommand\tmspace[3]{%
\ifmmode\mskip#1#2\else\leavevmode at ifvmode\kern#1#3\fi\relax}
\fi
-\renewcommand{\,}{\tmspace+\thinmuskip{.1667em}}
+\DeclareRobustCommand\,{\tmspace+\thinmuskip{.1667em}}
\let\thinspace\,
-\renewcommand{\!}{\tmspace-\thinmuskip{.1667em}}
+\DeclareRobustCommand\!{\tmspace-\thinmuskip{.1667em}}
\let\negthinspace\!
-\renewcommand{\:}{\tmspace+\medmuskip{.2222em}}
+\DeclareRobustCommand\:{\tmspace+\medmuskip{.2222em}}
\let\medspace\:
-\newcommand{\negmedspace}{\tmspace-\medmuskip{.2222em}}
-\renewcommand{\;}{\tmspace+\thickmuskip{.2777em}}
+\DeclareRobustCommand\negmedspace{\tmspace-\medmuskip{.2222em}}
+\renewcommand\;{\tmspace+\thickmuskip{.2777em}}
\let\thickspace\;
-\newcommand{\negthickspace}{\tmspace-\thickmuskip{.2777em}}
+\DeclareRobustCommand\negthickspace{\tmspace-\thickmuskip{.2777em}}
% \end{macrocode}
% \end{macro}
% \end{macro}
diff --git a/required/amsmath/changes.txt b/required/amsmath/changes.txt
index 9581bb66..8f595dc7 100644
--- a/required/amsmath/changes.txt
+++ b/required/amsmath/changes.txt
@@ -1,3 +1,10 @@
+2020-03-07 Frank Mittelbach <Frank.Mittelbach at latex-project.org>
+
+ * amsmath.dtx (subsection{Math spacing commands}):
+ Math/text spacing commands are now in the \LaTeX{} kernel and are
+ made robust. We still define them here so that the package
+ continues to work with older formats (gh/303)
+
#########################
# 2020-02-02 Release
#########################
diff --git a/required/amsmath/testfiles/github-amsrobust-0123.tlg b/required/amsmath/testfiles/github-amsrobust-0123.tlg
index 5d199f94..84d7875b 100644
--- a/required/amsmath/testfiles/github-amsrobust-0123.tlg
+++ b/required/amsmath/testfiles/github-amsrobust-0123.tlg
@@ -1,6 +1,6 @@
This is a generated file for the LaTeX2e validation system.
Don't change this file in any respect.
-\! -> \tmspace -\thinmuskip {.1667em}{foo}{bar}{baz}
+\! -> \!{foo}{bar}{baz}
---------------------------------------
\" -> \"{foo}{bar}{baz}
---------------------------------------
@@ -8,7 +8,7 @@ Don't change this file in any respect.
---------------------------------------
\* -> \*{foo}{bar}{baz}
---------------------------------------
-\, -> \tmspace +\thinmuskip {.1667em}{foo}{bar}{baz}
+\, -> \,{foo}{bar}{baz}
---------------------------------------
\- -> \-{foo}{bar}{baz}
---------------------------------------
@@ -16,7 +16,7 @@ Don't change this file in any respect.
---------------------------------------
\/ -> \/{foo}{bar}{baz}
---------------------------------------
-\: -> \tmspace +\medmuskip {.2222em}{foo}{bar}{baz}
+\: -> \:{foo}{bar}{baz}
---------------------------------------
\; -> \tmspace +\thickmuskip {.2777em}{foo}{bar}{baz}
---------------------------------------
@@ -228,9 +228,9 @@ Don't change this file in any respect.
---------------------------------------
\dbinom -> \genfrac (){0pt}0{foo}{bar}{baz}
---------------------------------------
-\ddddot -> {\mathop {\kern \z@ foo}\limits ^{\vbox to-1.4\ex@ {\kern -\tw@ \ex@ \hbox {\tmspace +\thinmuskip {.1667em}\normalfont ....}\vss }}}{bar}{baz}
+\ddddot -> {\mathop {\kern \z@ foo}\limits ^{\vbox to-1.4\ex@ {\kern -\tw@ \ex@ \hbox {\,\normalfont ....}\vss }}}{bar}{baz}
---------------------------------------
-\dddot -> {\mathop {\kern \z@ foo}\limits ^{\vbox to-1.4\ex@ {\kern -\tw@ \ex@ \hbox {\tmspace +\thinmuskip {.1667em}\normalfont ...}\vss }}}{bar}{baz}
+\dddot -> {\mathop {\kern \z@ foo}\limits ^{\vbox to-1.4\ex@ {\kern -\tw@ \ex@ \hbox {\,\normalfont ...}\vss }}}{bar}{baz}
---------------------------------------
\ddot -> \ddot {foo}{bar}{baz}
---------------------------------------
@@ -266,7 +266,7 @@ Don't change this file in any respect.
---------------------------------------
\dotsc -> \dotsc {foo}{bar}{baz}
---------------------------------------
-\dotsi -> \tmspace -\thinmuskip {.1667em}\mathinner {\cdotp \cdotp \cdotp }{foo}{bar}{baz}
+\dotsi -> \!\mathinner {\cdotp \cdotp \cdotp }{foo}{bar}{baz}
---------------------------------------
\dotsm -> \cdots {foo}{bar}{baz}
---------------------------------------
@@ -372,7 +372,7 @@ Don't change this file in any respect.
---------------------------------------
\inf -> \qopname \relax m{inf}{foo}{bar}{baz}
---------------------------------------
-\injlim -> \qopname \relax m{inj\tmspace +\thinmuskip {.1667em}lim}{foo}{bar}{baz}
+\injlim -> \qopname \relax m{inj\,lim}{foo}{bar}{baz}
---------------------------------------
\interdisplaylinepenalty -> \interdisplaylinepenalty {foo}{bar}{baz}
---------------------------------------
@@ -420,7 +420,7 @@ Don't change this file in any respect.
---------------------------------------
\lhook -> \lhook {foo}{bar}{baz}
---------------------------------------
-\liminf -> \qopname \relax m{lim\tmspace +\thinmuskip {.1667em}inf}{foo}{bar}{baz}
+\liminf -> \qopname \relax m{lim\,inf}{foo}{bar}{baz}
---------------------------------------
\limits -> \limits {foo}{bar}{baz}
---------------------------------------
@@ -508,7 +508,7 @@ Don't change this file in any respect.
---------------------------------------
\medmuskip -> \medmuskip {foo}{bar}{baz}
---------------------------------------
-\medspace -> \tmspace +\medmuskip {.2222em}{foo}{bar}{baz}
+\medspace -> \:{foo}{bar}{baz}
---------------------------------------
\minalignsep -> 10pt{foo}{bar}{baz}
---------------------------------------
@@ -518,7 +518,7 @@ Don't change this file in any respect.
---------------------------------------
\mkern -> \mkern {foo}{bar}{baz}
---------------------------------------
-\mod -> \allowbreak \mkern 12mu{\mathgroup \symoperators mod}\tmspace +\thinmuskip {.1667em}\tmspace +\thinmuskip {.1667em}foo{bar}{baz}
+\mod -> \allowbreak \mkern 12mu{\mathgroup \symoperators mod}\,\,foo{bar}{baz}
---------------------------------------
\moveleft -> \moveleft {foo}{bar}{baz}
---------------------------------------
@@ -536,11 +536,11 @@ Don't change this file in any respect.
---------------------------------------
\multlinetaggap -> \multlinetaggap {foo}{bar}{baz}
---------------------------------------
-\negmedspace -> \tmspace -\medmuskip {.2222em}{foo}{bar}{baz}
+\negmedspace -> \negmedspace {foo}{bar}{baz}
---------------------------------------
-\negthickspace -> \tmspace -\thickmuskip {.2777em}{foo}{bar}{baz}
+\negthickspace -> \negthickspace {foo}{bar}{baz}
---------------------------------------
-\negthinspace -> \tmspace -\thinmuskip {.1667em}{foo}{bar}{baz}
+\negthinspace -> \!{foo}{bar}{baz}
---------------------------------------
\noalign -> \noalign {foo}{bar}{baz}
---------------------------------------
@@ -618,7 +618,7 @@ Don't change this file in any respect.
---------------------------------------
\prod -> \DOTSB \prod@ \slimits@ {foo}{bar}{baz}
---------------------------------------
-\projlim -> \qopname \relax m{proj\tmspace +\thinmuskip {.1667em}lim}{foo}{bar}{baz}
+\projlim -> \qopname \relax m{proj\,lim}{foo}{bar}{baz}
---------------------------------------
\qopname -> \qopname {foo}{bar}{baz}
---------------------------------------
@@ -702,7 +702,7 @@ Don't change this file in any respect.
---------------------------------------
\span -> \span {foo}{bar}{baz}
---------------------------------------
-\spbreve -> ^{\tmspace -\thinmuskip {.1667em}\smash[b]{\hbox {\lower 4\ex@ \hbox {\u {}}}}}{foo}{bar}{baz}
+\spbreve -> ^{\!\smash[b]{\hbox {\lower 4\ex@ \hbox {\u {}}}}}{foo}{bar}{baz}
---------------------------------------
\spcheck -> ^\vee {foo}{bar}{baz}
---------------------------------------
@@ -712,7 +712,7 @@ Don't change this file in any respect.
---------------------------------------
\spdot -> ^{\hbox {\raise \ex@ \hbox {\normalfont .}}}{foo}{bar}{baz}
---------------------------------------
-\sphat -> ^{\mathchoice {}{}{\tmspace +\thinmuskip {.1667em}\tmspace +\thinmuskip {.1667em}\smash[b]{\hbox {\lower 4\ex@ \hbox {$\mathsurround \z@ \widehat {\hbox {}}$}}}}{\tmspace +\thinmuskip {.1667em}\smash[b]{\hbox {\lower 3\ex@ \hbox {$\mathsurround \z@ \hat {\hbox {}}$}}}}}{foo}{bar}{baz}
+\sphat -> ^{\mathchoice {}{}{\,\,\smash[b]{\hbox {\lower 4\ex@ \hbox {$\mathsurround \z@ \widehat {\hbox {}}$}}}}{\,\smash[b]{\hbox {\lower 3\ex@ \hbox {$\mathsurround \z@ \hat {\hbox {}}$}}}}}{foo}{bar}{baz}
---------------------------------------
\sptilde -> ^\sim {foo}{bar}{baz}
---------------------------------------
@@ -762,7 +762,7 @@ Don't change this file in any respect.
---------------------------------------
\thinmuskip -> \thinmuskip {foo}{bar}{baz}
---------------------------------------
-\thinspace -> \tmspace +\thinmuskip {.1667em}{foo}{bar}{baz}
+\thinspace -> \,{foo}{bar}{baz}
---------------------------------------
\tilde -> \tilde {foo}{bar}{baz}
---------------------------------------
More information about the latex3-commits
mailing list.