-
-
Notifications
You must be signed in to change notification settings - Fork 98
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
Wrong position of sub/superscripts in math on big content #2122
Comments
Partly relates to #1799 (although the question was more general) |
Yet, the commented-out lines:
Bisected to a97792c = commented out by @OlivierNicole as part of changes "largely based on Ulrik Vieth's OpenType Math Illuminated." Referenced document by Vieth found as PDF, see p. 49
A "boxed subformula" is not defined in that document, but on fig. 4 and its caption it seems to be opposed to "a single character". Testing with
Digging deeper, this TeX Stack Exchange discussion gives some more pointer. Notably this TUGboat 27 no. 1 article by Jackowski, see esp. fig. 11 and discussion p. 89: the kernel is a "symbol", vs. a "boxed formula". This is finicky 🤣 Anyway, the case for the kernel being a symbol is easy. I'll at least push it in #2151 |
Follow MathML Core layout, except when the base is a symbol, in which case use the more finicky TeX approach. Closes sile-typesetter#2122
Follow MathML Core layout, except when the base is a symbol, in which case use the more finicky TeX approach. Closes sile-typesetter#2122
Observed
(the square root comes from #2119, but this is orthogonal to the issue)
The exponents on "big" blocks (bracketed blocs with fractions, etc.) are really off.
Note
There's some commented out code in our implementation, let's check what restoring it does:
Result:
--> Maybe can we bisect why this code was commented out? It seems it was doing something more or less expected!
The text was updated successfully, but these errors were encountered: