mirror of
https://github.com/Smaug123/KaTeX
synced 2025-10-17 16:58:41 +00:00
Support Unicode ⟂ ¬ ⊨ ‼ ∌ (#1377)
* Support Unicode ⟂ ¬ ⊨ ‼ ∌ * Fix code points
This commit is contained in:
@@ -233,6 +233,11 @@ defineMacro("\u225D", "\\stackrel{\\tiny\\mathrm{def}}{=}");
|
||||
defineMacro("\u225E", "\\stackrel{\\tiny\\mathrm{m}}{=}");
|
||||
defineMacro("\u225F", "\\stackrel{\\tiny?}{=}");
|
||||
|
||||
// Misc Unicode
|
||||
defineMacro("\u27C2", "\\perp");
|
||||
defineMacro("\u203C", "\\mathclose{!\\mkern-0.8mu!}");
|
||||
defineMacro("\u220C", "\\notni");
|
||||
|
||||
//////////////////////////////////////////////////////////////////////
|
||||
// amsmath.sty
|
||||
// http://mirrors.concertpass.com/tex-archive/macros/latex/required/amsmath/amsmath.pdf
|
||||
|
@@ -325,7 +325,7 @@ defineSymbol(math, ams, rel, "\u227e", "\\precsim", true);
|
||||
defineSymbol(math, ams, rel, "\u2ab7", "\\precapprox", true);
|
||||
defineSymbol(math, ams, rel, "\u22b2", "\\vartriangleleft");
|
||||
defineSymbol(math, ams, rel, "\u22b4", "\\trianglelefteq");
|
||||
defineSymbol(math, ams, rel, "\u22a8", "\\vDash");
|
||||
defineSymbol(math, ams, rel, "\u22a8", "\\vDash", true);
|
||||
defineSymbol(math, ams, rel, "\u22aa", "\\Vvdash", true);
|
||||
defineSymbol(math, ams, rel, "\u2323", "\\smallsmile");
|
||||
defineSymbol(math, ams, rel, "\u2322", "\\smallfrown");
|
||||
@@ -477,7 +477,7 @@ defineSymbol(math, main, textord, "O", "\u039F");
|
||||
defineSymbol(math, main, textord, "P", "\u03A1");
|
||||
defineSymbol(math, main, textord, "T", "\u03A4");
|
||||
defineSymbol(math, main, textord, "X", "\u03A7");
|
||||
defineSymbol(math, main, textord, "\u00ac", "\\neg");
|
||||
defineSymbol(math, main, textord, "\u00ac", "\\neg", true);
|
||||
defineSymbol(math, main, textord, "\u00ac", "\\lnot");
|
||||
defineSymbol(math, main, textord, "\u22a4", "\\top");
|
||||
defineSymbol(math, main, textord, "\u22a5", "\\bot");
|
||||
|
Reference in New Issue
Block a user