-
-
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
KaTeX css is not rendering correctly \overline #916
Comments
Maybe the problem is because of the |
I suspect that this is a further consequence of #824. We're still at a loss for the right fix. Note that |
I can confirm that fraction lines do not appear in old Android webView clients up to and including API 19 (KitKat). I can work around this by making the fraction line a bit bigger - in katex.min.js I changed the first entry of the DefaultRuleThickness array from 0.04 to 0.06. This changes the inline style for the fraction line to 0.06em, which is apparently enough for it to show up in a WebView. Playing with the values I found that 0.059 doesn't display but 0.5999 does, so there is a threshold there somewhere. |
* Prevent disappearing fraction lines. Set a CSS min-height that will ensure that fraction lines will display at least one screen pixel. Addresses issues #824 and #916. * Change from dppx to dpi Change the break point spec from 2dppx to 192dpi. They mean the same thing. I'm making the change because IE supports dpi but not dppx.
@thiagopnobre this should be fixed with the release of v0.9.0-alpha1. Please re-open if this is still an issue. |
Sorry for the delay guys. It worked. 🙂 |
Sometimes katex just not renders the line of the \overline, depending on the zoom or the font-size.
Example without zoom:
Example with zoom:
The text was updated successfully, but these errors were encountered: