verybadcat/CSharpMath

Math mode in \text gets ignored

Opened this issue · 0 comments

Math mode, for example, $n$ defined in \text{} gets ignored.

f(n) = \begin{cases} n/2, & \text{if $n$ is even} \\ 3n+1, & \text{if $n$ is odd} \end{cases}

See the following output: The first row produced by LaTeX, the second raw produced by Skia.

Comparer-13

Note: In the previous version of CSharpMath (maybe version 0.2), it was not an issue.