Move {cases} patch to amsmath patches since it patches the amsmath definition

This commit is contained in:
Marcel Fabian Krüger 2022-12-04 07:51:36 +01:00
parent f5be988925
commit cb2c48aa8d
2 changed files with 9 additions and 7 deletions

View File

@ -399,6 +399,15 @@
}
}
% {cases} is defined by the kernel, but we patch the overwritten version by amsmath.
\cs_set:Npn \env@cases {
\let \@ifnextchar \new@ifnextchar
\left \lbrace
\def \arraystretch {1.2}
\array {@{}l@{\quad \luamml_flag_ignore:}l@{}}
}
\cs_set:Npn \bBigg@ #1 #2 {
{
\ensuremath {

View File

@ -34,13 +34,6 @@
\__luamml_kernel_phantom:Vnn \g__luamml_kernel_phantom_int
}
\cs_set:Npn \env@cases {
\let \@ifnextchar \new@ifnextchar
\left \lbrace
\def \arraystretch {1.2}
\array {@{}l@{\quad \luamml_flag_ignore:}l@{}}
}
\@ifpackageloaded {unicode-math} {} {
\cs_new:Npn \__luamml_kernel_define_character:Nnn #1#2#3 {
\cs_set:cpx { \cs_to_str:N #1 ~ } {