move gather commands to latex-lab

This commit is contained in:
Ulrike Fischer 2025-02-02 20:41:23 +01:00
parent 3d4d7ecd22
commit 5c8cf1b013

View File

@ -96,9 +96,7 @@
\egroup
\UseTaggingSocket{math/luamml/mtable/innertable/finalize}
}
}
% gather
\PackageInfo{luamml}{patching~\string\gather@}
\cs_set:Npn \gather@ #1 {
\ingather@true
\let \split \insplit@
@ -146,7 +144,8 @@
\crcr
#1
}
% in latex lab, add the luamml_ignore to \measuring@true instead.
\PackageInfo{luamml}{patching~\string\gmeasure@}
\cs_new_eq:NN \__luamml_amsmath_original_gmeasure:n \gmeasure@
\cs_set:Npn \gmeasure@ #1 {
\exp_last_unbraced:Nno
@ -154,9 +153,9 @@
{ \luamml_ignore: }
{ \__luamml_amsmath_original_gmeasure:n {#1} }
}
\IfPackageAtLeastTF{latex-lab-testphase-math}{2025-01-24}
{}
{ \PackageInfo{luamml}{patching~\string\endgather}
\PackageInfo{luamml}{patching~\string\endgather}
\cs_set:Npn \endgather {
\math@cr
\black@ \totwidth@