summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/lualatex/luamml/luamml-patches-lab-math.sty
blob: e2d12c3c733a3d3339519924b3a73222b9bb383c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
\ProvidesExplPackage {luamml-patches-lab-math} {2024-08-14} {0.1.0}
  {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
  }
}