mirror of
https://github.com/Smaug123/KaTeX
synced 2025-10-12 14:38:39 +00:00
Support Unicode middle dot (#1015)
* Support Unicode middle dot This PR adds support for Unicode characters U+00B7 MIDDLE DOT and U+22C5 DOT OPERATOR. * Use escapes for tests. Edit macro comment.
This commit is contained in:
@@ -496,7 +496,7 @@ defineSymbol(math, main, mathord, "\u03c6", "\\varphi", true);
|
||||
defineSymbol(math, main, bin, "\u2217", "*");
|
||||
defineSymbol(math, main, bin, "+", "+");
|
||||
defineSymbol(math, main, bin, "\u2212", "-");
|
||||
defineSymbol(math, main, bin, "\u22c5", "\\cdot");
|
||||
defineSymbol(math, main, bin, "\u22c5", "\\cdot", true);
|
||||
defineSymbol(math, main, bin, "\u2218", "\\circ");
|
||||
defineSymbol(math, main, bin, "\u00f7", "\\div", true);
|
||||
defineSymbol(math, main, bin, "\u00b1", "\\pm", true);
|
||||
|
Reference in New Issue
Block a user