move align commands to latex-lab

This commit is contained in:
Ulrike Fischer 2025-02-04 01:09:22 +01:00
parent 36cfb020d2
commit 28d2b57997

View File

@ -164,10 +164,11 @@
$$
\ignorespacesafterend
}
}
% align and friends
\cs_set:Npn \align@preamble {
\PackageInfo{luamml}{patching~\string\align@preamble}
\cs_set:Npn \align@preamble {
&
\hfil
\strut@
@ -216,9 +217,9 @@
\set@field
\hfil
\tabskip\alignsep@
}
\cs_set:Npn \math@cr@@@align {
}
\PackageInfo{luamml}{patching~\string\math@cr@@@align}
\cs_set:Npn \math@cr@@@align {
\ifst@rred
\nonumber
\fi
@ -244,8 +245,8 @@
\fi
\global \lineht@ \z@
\cr
}
}
% This was lost anyway, as the latex-lab code overwrites
% the definition again.
\IfPackageAtLeastTF{latex-lab-testphase-math}{2025-01-24}