-
Notifications
You must be signed in to change notification settings - Fork 10
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
Spaces in \text{} is not preserved when there is a single or zero char or numbers/dots #150
Comments
This can be extremely hard to fix. https://discord.com/channels/1054443721975922748/1225462045583872083 In short, when layouting texts in math, typst has special code path for:
|
The tricky part is that this happens in layout stage, where everything is flattened. It's impossible to tell which |
Maybe we can switch to strings for simple |
I think this can work, which means we need to first check if there are any special characters like the dollar sign |
renders to
In mathjax it is
The text was updated successfully, but these errors were encountered: