Set the greedines of font functions to 2 so that e^\mathbf{x} will parse

Test Plan: make test

Reviewers: emily
This commit is contained in:
Kevin Barabash
2015-09-10 21:53:25 -07:00
parent 961e1caba9
commit b98670b8ed
2 changed files with 6 additions and 1 deletions

View File

@@ -462,7 +462,8 @@ defineFunction([
// aliases
"\\Bbb", "\\bold", "\\frak"
], {
numArgs: 1
numArgs: 1,
greediness: 2
}, function (func, body) {
if (func in fontAliases) {
func = fontAliases[func];