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:
Erik Demaine
2019-10-10 20:46:10 -04:00
committed by GitHub
parent 634b4e2ae4
commit 1eda0e86a0
4 changed files with 13 additions and 3 deletions

View File

@@ -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,