Skip to content
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

unequal sign(≠) in LaTeX painting incorrectly #395

Open
cindywu opened this issue Jan 17, 2021 · 1 comment
Open

unequal sign(≠) in LaTeX painting incorrectly #395

cindywu opened this issue Jan 17, 2021 · 1 comment

Comments

@cindywu
Copy link
Member

cindywu commented Jan 17, 2021

To reproduce use $\neq$ in editor.

Jelly 2021-01-16 19-37-01

@cindywu
Copy link
Member Author

cindywu commented Jan 17, 2021

The temporary solution is to use \mathrel{\char`≠}

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 \neq to instead do \mathrel{\char`≠} which produces a literal not-equal character which should work in other fonts. You can do this easily via the macros functionality, or via a \def.

KaTeX/KaTeX#2109 (comment)

Example post on jellypbc.com https://jellypbc.com/posts/bnrweg-the-marriage-problem-2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant