-
-
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
Not equal (\ne) sign doesn't render correctly the slash sign #2109
Comments
True, the font is overriden with a Google Font. Now that I removed it it's okay, but I have to use my font of choice. Everything else with math expressions seems fine with this font (and other; I also tried Roboto), but this equal sign is the only thing until now that I have found to render incorrectly. Anything else I can do? |
KaTeX doesn't really support font overriding, I'm afraid. I'm not sure if it's currently possible to override just numbers and letters and avoid overriding symbols, but that's the behavior you'd want... |
You could also try redefining the behavior of |
I see. Great, thank you so much! |
re: workaround from @edemaine, thank you!
katex.render(
text,
element,
{
macros: {
'\\neq': '\\mathrel{\\char`≠}',
},
},
) |
It seems the slash sign on top of the equal sign is broken.
I have the latest version of Katex in my project. Below is a screenshot taken in the latest version of Firefox. Also in Chrome is the same thing.
The text was updated successfully, but these errors were encountered: