[latex3-commits] [git/LaTeX3-latex3-latex2e] gh005: and we accept an empty [] as an alternative to the default [c] for #5 (c2b6e725)
Frank Mittelbach
frank.mittelbach at latex-project.org
Tue Mar 17 00:06:14 CET 2020
Repository : https://github.com/latex3/latex2e
On branch : gh005
Link : https://github.com/latex3/latex2e/commit/c2b6e725b04c5cfa9cf4ea9a290ea2ca89ff0852
>---------------------------------------------------------------
commit c2b6e725b04c5cfa9cf4ea9a290ea2ca89ff0852
Author: Frank Mittelbach <frank.mittelbach at latex-project.org>
Date: Tue Mar 17 00:06:14 2020 +0100
and we accept an empty [] as an alternative to the default [c] for #5
>---------------------------------------------------------------
c2b6e725b04c5cfa9cf4ea9a290ea2ca89ff0852
required/amsmath/amsmath.dtx | 7 ++++-
.../testfiles/github-amsmath-0005.luatex.tlg | 36 +++++++++++++++++++++-
required/amsmath/testfiles/github-amsmath-0005.lvt | 1 +
required/amsmath/testfiles/github-amsmath-0005.tlg | 36 +++++++++++++++++++++-
4 files changed, 77 insertions(+), 3 deletions(-)
diff --git a/required/amsmath/amsmath.dtx b/required/amsmath/amsmath.dtx
index 726d7a21..e3ad7c60 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/03/16 v2.17g AMS math features]
+\ProvidesPackage{amsmath}[2020/03/17 v2.17g AMS math features]
% \end{macrocode}
%
% \section{Catcode defenses}
@@ -3735,6 +3735,11 @@ and fix things up.}
\def\ams at pos@b{\vbox}
\def\ams at pos@c{\vcenter}
% \end{macrocode}
+% And we accept an empty argument as a way to get the default (as
+% that was the case before as well, albeit by mistake in some sense).
+% \begin{macrocode}
+\let\ams at pos@\ams at pos@c
+% \end{macrocode}
% \end{macro}
% \end{macro}
% \end{macro}
diff --git a/required/amsmath/testfiles/github-amsmath-0005.luatex.tlg b/required/amsmath/testfiles/github-amsmath-0005.luatex.tlg
index a4edce9b..da348fb3 100644
--- a/required/amsmath/testfiles/github-amsmath-0005.luatex.tlg
+++ b/required/amsmath/testfiles/github-amsmath-0005.luatex.tlg
@@ -41,7 +41,7 @@ Completed box being shipped out [1]
...\penalty 10000
...\glue(\abovedisplayshortskip) 0.0 plus 3.0
...\glue(\lineskip) 1.0
-...\hbox(23.39996+18.60004)x56.8368, shifted 144.0816, direction TLT
+...\hbox(23.39996+18.60004)x64.6993, shifted 140.15036, direction TLT
....\hbox(0.0+0.0)x0.0, direction TLT
....\vbox(8.39996+18.60004)x9.06943, direction TLT
.....\hbox(8.39996+3.60004)x9.06943, direction TLT
@@ -207,6 +207,40 @@ Completed box being shipped out [1]
.......\glue 0.0 plus 1.0fil
......\glue(\tabskip) 0.0
....\hbox(0.0+0.0)x0.0, direction TLT
+....\vbox(16.0+11.0)x7.86249, direction TLT
+.....\hbox(8.39996+3.60004)x7.86249, direction TLT
+......\glue(\tabskip) 0.0
+......\hbox(8.39996+3.60004)x7.86249, direction TLT
+.......\glue 0.0 plus 1.0fil
+.......\hbox(8.39996+3.60004)x0.0, direction TLT
+........\vbox(8.39996+3.60004)x0.0, direction TLT
+.........\kern0.0
+.........\hbox(8.39996+3.60004)x0.0, direction TLT
+..........\rule(8.39996+3.60004)x0.0
+.......\mathon
+.......\OML/cmm/m/it/10 C
+.......\kern0.71527 (italic)
+.......\mathoff
+.......\glue 0.0 plus 1.0fil
+......\glue(\tabskip) 0.0
+.....\glue 0.0
+.....\glue(\baselineskip) 3.0
+.....\hbox(8.39996+3.60004)x7.86249, direction TLT
+......\glue(\tabskip) 0.0
+......\hbox(8.39996+3.60004)x7.86249, direction TLT
+.......\glue 0.0 plus 1.0fil
+.......\hbox(8.39996+3.60004)x0.0, direction TLT
+........\vbox(8.39996+3.60004)x0.0, direction TLT
+.........\kern0.0
+.........\hbox(8.39996+3.60004)x0.0, direction TLT
+..........\rule(8.39996+3.60004)x0.0
+.......\mathon
+.......\OML/cmm/m/it/10 C
+.......\kern0.71527 (italic)
+.......\mathoff
+.......\glue 0.0 plus 1.0fil
+......\glue(\tabskip) 0.0
+....\hbox(0.0+0.0)x0.0, direction TLT
....\vbox(8.39996+18.60004)x9.06943, direction TLT
.....\hbox(8.39996+3.60004)x9.06943, direction TLT
......\glue(\tabskip) 0.0
diff --git a/required/amsmath/testfiles/github-amsmath-0005.lvt b/required/amsmath/testfiles/github-amsmath-0005.lvt
index c6847fd1..b1f41f24 100644
--- a/required/amsmath/testfiles/github-amsmath-0005.lvt
+++ b/required/amsmath/testfiles/github-amsmath-0005.lvt
@@ -20,6 +20,7 @@
\begin{aligned}[b] Z \\ Z \end{aligned}
\begin{aligned} A \\ A \end{aligned}
\begin{gathered} B \\ B \end{gathered}
+ \begin{gathered}[] C \\ C \end{gathered}
\begin{gathered}[\hiddent] X \\ X \end{gathered}
\begin{aligned}[\hiddenbii] Z \\ Z \end{aligned}
\]
diff --git a/required/amsmath/testfiles/github-amsmath-0005.tlg b/required/amsmath/testfiles/github-amsmath-0005.tlg
index 40be30fa..f9645cde 100644
--- a/required/amsmath/testfiles/github-amsmath-0005.tlg
+++ b/required/amsmath/testfiles/github-amsmath-0005.tlg
@@ -36,7 +36,7 @@ Completed box being shipped out [1]
...\penalty 10000
...\glue(\abovedisplayshortskip) 0.0 plus 3.0
...\glue(\lineskip) 1.0
-...\hbox(23.39996+18.60004)x56.8368, shifted 144.0816, display
+...\hbox(23.39996+18.60004)x64.6993, shifted 140.15036, display
....\hbox(0.0+0.0)x0.0
....\vbox(8.39996+18.60004)x9.06943
.....\hbox(8.39996+3.60004)x9.06943
@@ -202,6 +202,40 @@ Completed box being shipped out [1]
.......\glue 0.0 plus 1.0fil
......\glue(\tabskip) 0.0
....\hbox(0.0+0.0)x0.0
+....\vbox(16.0+11.0)x7.86249
+.....\hbox(8.39996+3.60004)x7.86249
+......\glue(\tabskip) 0.0
+......\hbox(8.39996+3.60004)x7.86249
+.......\glue 0.0 plus 1.0fil
+.......\hbox(8.39996+3.60004)x0.0
+........\vbox(8.39996+3.60004)x0.0
+.........\kern 0.0
+.........\hbox(8.39996+3.60004)x0.0
+..........\rule(8.39996+3.60004)x0.0
+.......\mathon
+.......\OML/cmm/m/it/10 C
+.......\kern0.71527
+.......\mathoff
+.......\glue 0.0 plus 1.0fil
+......\glue(\tabskip) 0.0
+.....\glue 0.0
+.....\glue(\baselineskip) 3.0
+.....\hbox(8.39996+3.60004)x7.86249
+......\glue(\tabskip) 0.0
+......\hbox(8.39996+3.60004)x7.86249
+.......\glue 0.0 plus 1.0fil
+.......\hbox(8.39996+3.60004)x0.0
+........\vbox(8.39996+3.60004)x0.0
+.........\kern 0.0
+.........\hbox(8.39996+3.60004)x0.0
+..........\rule(8.39996+3.60004)x0.0
+.......\mathon
+.......\OML/cmm/m/it/10 C
+.......\kern0.71527
+.......\mathoff
+.......\glue 0.0 plus 1.0fil
+......\glue(\tabskip) 0.0
+....\hbox(0.0+0.0)x0.0
....\vbox(8.39996+18.60004)x9.06943
.....\hbox(8.39996+3.60004)x9.06943
......\glue(\tabskip) 0.0
More information about the latex3-commits
mailing list.