mirror of
https://github.com/Smaug123/KaTeX
synced 2025-10-11 05:58:40 +00:00
Add support for \cal (#2116)
Fix #2115 by adding \cal to list of old-style font commands. (Surprisingly tiny change!) Add tests for all old-style font commands.
This commit is contained in:
@@ -95,7 +95,7 @@ defineFunction({
|
||||
// Old font changing functions
|
||||
defineFunction({
|
||||
type: "font",
|
||||
names: ["\\rm", "\\sf", "\\tt", "\\bf", "\\it"],
|
||||
names: ["\\rm", "\\sf", "\\tt", "\\bf", "\\it", "\\cal"],
|
||||
props: {
|
||||
numArgs: 0,
|
||||
allowedInText: true,
|
||||
|
Reference in New Issue
Block a user