move aligned commands to latex-lab
This commit is contained in:
parent
ece360295a
commit
cfeb408332
@ -7,9 +7,12 @@
|
||||
% 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.
|
||||
|
||||
% aligned and friends
|
||||
\cs_set:Npn \start@aligned #1#2 {
|
||||
\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@
|
||||
\else
|
||||
\nonmatherr@ { \begin { \@currenvir } }
|
||||
@ -57,10 +60,7 @@
|
||||
\tabskip\alignsep@
|
||||
\crcr
|
||||
\ams@return@opt@arg
|
||||
}
|
||||
\IfPackageAtLeastTF{latex-lab-testphase-math}{2025-01-24}
|
||||
{}
|
||||
{
|
||||
}
|
||||
\PackageInfo{luamml}{patching~gathered}
|
||||
\renewcommand \gathered [1] [c] {
|
||||
\RIfM@
|
||||
@ -87,16 +87,16 @@
|
||||
\crcr
|
||||
\ams@return@opt@arg
|
||||
}
|
||||
}
|
||||
|
||||
\cs_set:Npn \endaligned {
|
||||
\PackageInfo{luamml}{patching~\string\endaligned}
|
||||
\cs_set:Npn \endaligned {
|
||||
\crcr
|
||||
\UseExpandableTaggingSocket{math/luamml/mtable/innertable/save}
|
||||
\egroup
|
||||
\restorecolumn@
|
||||
\egroup
|
||||
\UseTaggingSocket{math/luamml/mtable/innertable/finalize}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
% gather
|
||||
\cs_set:Npn \gather@ #1 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user