mathml/luamml-patches-lab-math.sty

31 lines
678 B
Plaintext
Raw Normal View History

\ProvidesExplPackage {luamml-patches-lab-math} {2021-05-30} {0.0.1-alpha}
{Feel free to add a description here}
\AddToHook{begindocument} {
\cs_set:Npn \common@align@ending {
\math@cr
\black@ \totwidth@
\__luamml_amsmath_finalize_table:n {align}
\egroup
\ifingather@
\restorealignstate@
\egroup
\nonumber
\ifnum0=`{\fi\iffalse}\fi
\else
$$
\fi
\ignorespacesafterend
}
\show \__math_env_gather_end:
\show \endgather
% \cs_set:Npn \endgather {
% \math@cr
% \black@ \totwidth@
% \__luamml_amsmath_finalize_table:n {gather}
% \egroup
% $$
% \ignorespacesafterend
% }
}