Don't break tabular when array is loaded

This commit is contained in:
Marcel Fabian Krüger 2021-06-22 16:59:38 +02:00
parent 9e501b2d76
commit f6c7bb6b98

View File

@ -12,32 +12,47 @@
\hfil \hfil
\hskip 1sp \hskip 1sp
\d@llarbegin \d@llarbegin
\__luamml_array_init_col: \cs_if_eq:NNTF \d@llarbegin \begingroup {
\insert@column \insert@column
\luamml_flag_save: \d@llarend
\d@llarend } {
\__luamml_array_finalize_col:w 0~ \__luamml_array_init_col:
\insert@column
\luamml_flag_save:
\d@llarend
\__luamml_array_finalize_col:w 0~
}
\do@row@strut \do@row@strut
\hfil \hfil
\or \or
\hskip 1sp \hskip 1sp
\d@llarbegin \d@llarbegin
\__luamml_array_init_col: \cs_if_eq:NNTF \d@llarbegin \begingroup {
\insert@column \insert@column
\luamml_flag_save: \d@llarend
\d@llarend } {
\__luamml_array_finalize_col:w 1~ \__luamml_array_init_col:
\insert@column
\luamml_flag_save:
\d@llarend
\__luamml_array_finalize_col:w 1~
}
\do@row@strut \do@row@strut
\hfil \hfil
\or \or
\hfil \hfil
\hskip 1sp \hskip 1sp
\d@llarbegin \d@llarbegin
\__luamml_array_init_col: \cs_if_eq:NNTF \d@llarbegin \begingroup {
\insert@column \insert@column
\luamml_flag_save: \d@llarend
\d@llarend } {
\__luamml_array_finalize_col:w 2~ \__luamml_array_init_col:
\insert@column
\luamml_flag_save:
\d@llarend
\__luamml_array_finalize_col:w 2~
}
\do@row@strut \do@row@strut
\or \or
\setbox \ar@mcellbox \vbox \@startpbox { \@nextchar } \setbox \ar@mcellbox \vbox \@startpbox { \@nextchar }
@ -65,7 +80,7 @@
\__luamml_array_save_array: \__luamml_array_save_array:
\egroup \egroup
\egroup \egroup
\__luamml_array_finalize_array: \mode_if_math:T { \__luamml_array_finalize_array: }
\@arrayright \@arrayright
\gdef \@preamble {} \gdef \@preamble {}
} }