mirror of
https://github.com/Smaug123/KaTeX
synced 2025-10-13 15:08:39 +00:00
fix: Support \S and \P in math mode (#2977)
Co-authored-by: Erik Demaine <edemaine@mit.edu>
This commit is contained in:
@@ -144,8 +144,10 @@ defineSymbol(math, main, textord, "\u211c", "\\Re", true);
|
||||
defineSymbol(math, main, textord, "\u2661", "\\heartsuit", true);
|
||||
defineSymbol(math, main, textord, "\u2111", "\\Im", true);
|
||||
defineSymbol(math, main, textord, "\u2660", "\\spadesuit", true);
|
||||
defineSymbol(text, main, textord, "\u00a7", "\\S", true);
|
||||
defineSymbol(text, main, textord, "\u00b6", "\\P", true);
|
||||
defineSymbol(math, main, textord, "\u00a7", "\\S", true);
|
||||
defineSymbol(text, main, textord, "\u00a7", "\\S");
|
||||
defineSymbol(math, main, textord, "\u00b6", "\\P", true);
|
||||
defineSymbol(text, main, textord, "\u00b6", "\\P");
|
||||
|
||||
// Math and Text
|
||||
defineSymbol(math, main, textord, "\u2020", "\\dag");
|
||||
|
Reference in New Issue
Block a user