File tree Expand file tree Collapse file tree 2 files changed +36
-0
lines changed Expand file tree Collapse file tree 2 files changed +36
-0
lines changed Original file line number Diff line number Diff line change
1
+ \ProvidesExplPackage {luamml-patches-mathtools} {2024-10-26} {0.1.0}
2
+ {Feel free to add a description here}
3
+
4
+ \RequirePackage {luamml-patches-amsmath}
5
+ % see https://github.com/latex3/tagging-project/issues/734
6
+ \renewcommand *\MT _mult_internal:n [1]{
7
+ \MH _if_boolean:nF {outer_mult}{\alignedspace@left } % <-- requires amsmath 2016/11/05
8
+ \MT _next:
9
+ \bgroup
10
+ \Let@
11
+ \def\l _MT_multline_lastline_fint{0 }
12
+ \chardef\dspbrk@context\@ne \restore@math@cr
13
+ \MH _let:NwN \math@cr@@\MT _mult_mathcr_atat:w
14
+ \MH _let:NwN \shoveleft\MT _shoveleft:wn
15
+ \MH _let:NwN \shoveright\MT _shoveright:wn
16
+ \spread@equation
17
+ \MH _set_boolean_F:n {mult_firstline}
18
+ \MT _measure_mult:n {#1}
19
+ \MH _if_dim:w \l _MT_multwidth_dim<\l _MT_multline_measure_fdim
20
+ \MH _setlength:dn \l _MT_multwidth_dim{\l _MT_multline_measure_fdim}
21
+ \fi
22
+ \MH _set_boolean_T:n {mult_firstline}
23
+ \MH _if_num:w \l _MT_multline_lastline_fint=\@ne
24
+ \MH _let:NwN \math@cr@@ \MT _mult_firstandlast_mathcr:w
25
+ \MH _fi:
26
+ \ialign\bgroup
27
+ \hfil\strut@ $ \m @th\displaystyle {}##
28
+ \luamml _save:nNn {} \displaystyle {mtd}
29
+ $
30
+ \_ _luamml_amsmath_add_last_to_row:
31
+ \hfil
32
+ \crcr
33
+ \hfilneg
34
+ #1
35
+ }
Original file line number Diff line number Diff line change 540
540
% <*luatex>
541
541
\_ _luamml_patch_package:n {amstext}
542
542
\_ _luamml_patch_package:n {amsmath}
543
+ \_ _luamml_patch_package:n {mathtools}
543
544
\_ _luamml_patch_package:n {array}
544
545
% </luatex>
545
546
% \end{macrocode}
You can’t perform that action at this time.
0 commit comments