mitex-rs/mitex

Things in `aligned` environment becomse inline style

Closed this issue · 1 comments

image

#mitex(`
\begin{aligned}
\int_0^\infty x^2 dx
\end{aligned}
\\
\int_0^\infty x^2 dx
`)

aligned may add a display by default. Here is the output of katex

\textstyle
\begin{aligned}
\textstyle
\int_0^\infty x^2 dx
\end{aligned}
\\
\begin{aligned}
\int_0^\infty x^2 dx
\end{aligned}
\\
\int_0^\infty x^2 dx

image