-
Notifications
You must be signed in to change notification settings - Fork 231
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
More description needed for option mathmlSpacing
#311
Comments
You are right that there should be more detail about this. MathML and TeX approach the spacing between items in very different ways. MathML inserts spacing on both sides of TeX, on the other hand, determines spacing based on the class of adjacent items in the expression (not just at operators). TeX assigns each item a TeX class (OP = large operator, BIN = binary operator, REL = relation, OPEN = open delimiter, etc.) and specifies a spacing too use between each possible pairing of adjacent classes (see the TeXBook Chapter 18 (p. 170)). So TeX can have spacing in palces that MathML doesn't, and the spacing does not always agree between the two. For example, TeX does not put spacing between two adjacent relations; e.g., TeX does some rewriting of classes to make some situations work better. For example, in Other places involve the spacing between two things neither of which is an Firefox handles that by putting space between I hope that helps clarify the difference between the two modes. |
The documentation for options need more information for
mathmlSpacing
vsTexRules
.I've spent 30 minutes reading through issues and source code but it is still not clear to me precisely what this option does.
It would be great to have an example for each option clearly highlighting the differences.
The text was updated successfully, but these errors were encountered: