-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Baseline nonconformity with small font when using big operator and superscript #3960
Comments
Can you reproduce this on Chrome? (I can't, but it might be resolution specific.) Perhaps it's a bug in Brave? |
Reproduced on Google Chrome 126.0.6478.61 (Official Build) (64-bit) on Debian 12. |
On what screen resolution? Like I said, I can't reproduce. But I only have high-DPI displays which tend to render differently. |
The resolution is 1920x1080. |
For the record, I'm also seeing the issue on Chrome, Brave, Edge, and Opera. I'm also on 1920x1080. |
@mbourne Thanks, that is helpful! I forget, which OS do you use? |
It's Windoze. |
I can reproduce this issue on Brave and another Chromium-based browser, but not on Firefox, im using Arch Linux with resolution 1920x1080 |
Describe the bug:
On Chromium browser, when KaTeX renders an expression with both big operator (e.g.
\int
) and superscript (e.g.x^2
) with a small font size (or zoom ratio), it gives nonconformity in the baseline.To Reproduce:
Steps to reproduce the behavior:
\int xx^2
in the demo at https://katex.org.Expected behavior:
The baseline of
x
andx^2
are aligned at the same height.Screenshots:
Zoom at 100% (good):
Zoom at 75% (bad):
Environment (please complete the following information):
Additional context:
The text was updated successfully, but these errors were encountered: