Open xiaodong-hu opened 4 months ago
The minimal example for align environment is:
#import "@preview/mitex:0.2.1": * #set math.equation(numbering: "(1)", supplement: [#text(blue)[*Eq.*]]) #mitext(` This is \emph{math} \textbf{equation} test for \eqref{eq:1}. \begin{align} \text{Stokes formula}\quad \int_{\mathcal M}\mathrm{d}\omega&=\int_{\partial\mathcal M}\omega\nonumber\\ \textbf{Jacobi-}$\vartheta$ \textbf{Function}\quad f(z)&=e^{ik\cdot z}\prod_{\nu=1}^{N_s}\vartheta\left(2\pi\frac{z-z_\nu}{L_1}\middle|\tau\right).\label{eq:1} \end{align} `)
What I got is
Here the label is NOT correctly placed at the end of the second line, even if I use the command \nonumber for the first line.
\nonumber
This is because typst does not currently support nonumber and numbering by row, and we need to wait for upstream support.
Related issue: https://github.com/typst/typst/issues/380
The minimal example for align environment is:
What I got is![2024-02-15_16-28](https://github.com/mitex-rs/mitex/assets/26814587/950a3978-83e0-48af-9117-6dd79e4be1ac)
Here the label is NOT correctly placed at the end of the second line, even if I use the command
\nonumber
for the first line.