You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using the \ne, \neq, or even a unicode notequal symbol renders incorrectly in math mode (tested in Firefox and Safari on MacOS). The slash renders before the equal sign. In Firefox the slash is significantly before the equal sign and in Safari the slash is just before the equal sign.
On the latex.js.org/playground page, the slash renders as a non-existent symbol.
KaTeX has a known issue with mis-aligning the slash vertically in some situations, but this is mis-aligned horizontally. One possible solution would be to redefine the KaTeX macros along the lines of:
Using the \ne, \neq, or even a unicode notequal symbol renders incorrectly in math mode (tested in Firefox and Safari on MacOS). The slash renders before the equal sign. In Firefox the slash is significantly before the equal sign and in Safari the slash is just before the equal sign.
On the latex.js.org/playground page, the slash renders as a non-existent symbol.
KaTeX has a known issue with mis-aligning the slash vertically in some situations, but this is mis-aligned horizontally. One possible solution would be to redefine the KaTeX macros along the lines of:
katex.render(
text,
element,
{
macros: {
'\neq': '\mathrel{\char`≠}',
},
},
)
As found at this page: KaTeX/KaTeX#2109
Thank you for this impressive work.
The text was updated successfully, but these errors were encountered: