move aligned commands to latex-lab

This commit is contained in:
Ulrike Fischer 2025-02-02 00:49:24 +01:00
parent ece360295a
commit cfeb408332

View File

@ -7,7 +7,10 @@
% But they are almost identical to the original and only
% add luamml commands in appropriate places, so they would
% mostly disappear if there were enough hooks in amsmath.
\IfPackageAtLeastTF{latex-lab-testphase-math}{2025-01-24}
{}
{
\PackageInfo{luamml}{patching~\string\start@aligned}
% aligned and friends
\cs_set:Npn \start@aligned #1#2 {
\RIfM@
@ -58,9 +61,6 @@
\crcr
\ams@return@opt@arg
}
\IfPackageAtLeastTF{latex-lab-testphase-math}{2025-01-24}
{}
{
\PackageInfo{luamml}{patching~gathered}
\renewcommand \gathered [1] [c] {
\RIfM@
@ -87,8 +87,7 @@
\crcr
\ams@return@opt@arg
}
}
\PackageInfo{luamml}{patching~\string\endaligned}
\cs_set:Npn \endaligned {
\crcr
\UseExpandableTaggingSocket{math/luamml/mtable/innertable/save}
@ -97,6 +96,7 @@
\egroup
\UseTaggingSocket{math/luamml/mtable/innertable/finalize}
}
}
% gather
\cs_set:Npn \gather@ #1 {