tmke8 / latex2mmlc

https://tmke8.github.io/latex2mmlc/
MIT License
0 stars 0 forks source link

Spacing of infix operators and functions #227

Open tmke8 opened 2 months ago

tmke8 commented 2 months ago

What are the rules?

Other scenarios seem to already be covered by MathML's rules (for example, x=4{+4} seems to work fine).

tmke8 commented 1 month ago
image
tmke8 commented 4 weeks ago

Question for making progress on this: What kind of global state do we need to handle all these cases?

tmke8 commented 4 weeks ago

One easy thing I could do is setting lspace and rspace to 0 on operators after a successful squeeze.

tmke8 commented 1 week ago

Maybe I should just insert a <mspace width="0.1667em"/> after functions. Except at the end of a group?

This just works in Firefox (the space that Firefox normally inserts doesn't appear then).