Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

\textit gets wrapped in \text on any edit #2309

Open
Leon-Lj opened this issue Feb 28, 2024 · 0 comments
Open

\textit gets wrapped in \text on any edit #2309

Leon-Lj opened this issue Feb 28, 2024 · 0 comments

Comments

@Leon-Lj
Copy link

Leon-Lj commented Feb 28, 2024

If you have a \textit part of the math-field and makes any edit to the expression (even if it doesn't touch what's in the \textit part) it will get wrapped in \text

Steps to Reproduce

  1. Import latex \textit{hello}+123
  2. Write a 4 at the end
  3. Export to latex again, it's now \text{\textit{hello}}+1234

Environment

MathLive version
0.98.6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant