Skip to content

Math mode in \text gets ignored #205

Open
@mauler2025

Description

@mauler2025

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Status/0. NewThis issue is new and is awaiting confirmation from the maintainers.Type/Bug

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions