move gather commands to latex-lab
This commit is contained in:
parent
3d4d7ecd22
commit
5c8cf1b013
@ -96,10 +96,8 @@
|
||||
\egroup
|
||||
\UseTaggingSocket{math/luamml/mtable/innertable/finalize}
|
||||
}
|
||||
}
|
||||
|
||||
% gather
|
||||
\cs_set:Npn \gather@ #1 {
|
||||
\PackageInfo{luamml}{patching~\string\gather@}
|
||||
\cs_set:Npn \gather@ #1 {
|
||||
\ingather@true
|
||||
\let \split \insplit@
|
||||
\let \tag \tag@in@align
|
||||
@ -145,18 +143,19 @@
|
||||
\span \fi
|
||||
\crcr
|
||||
#1
|
||||
}
|
||||
|
||||
\cs_new_eq:NN \__luamml_amsmath_original_gmeasure:n \gmeasure@
|
||||
\cs_set:Npn \gmeasure@ #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
|
||||
\use_ii_i:nn
|
||||
{ \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@
|
||||
|
Loading…
x
Reference in New Issue
Block a user