Add some AMS characters

Summary:
\nleq and \ngeq are AMS characters, so add support for parsing and
showing those. Also, add font metrics from the ams_regular font.

Test Plan:
View `\ngeq \geq`, make sure that they look the same but with a
slash through `\ngeq`. View `a \ngeq b`, make sure there's the right spacing
for a rel.

Reviewers: alpert

Reviewed By: alpert

Differential Revision: http://phabricator.khanacademy.org/D3547
This commit is contained in:
Emily Eisenberg
2013-08-14 17:39:24 -07:00
parent 7f25fd7dc9
commit 920dd0bef9
5 changed files with 19 additions and 4 deletions

View File

@@ -265,11 +265,13 @@ var copyFuncs = {
"\\leftarrow",
"\\leq",
"\\neq",
"\\ngeq",
"\\nleq",
"\\rightarrow",
"\\to"
],
"amsrel": [
"\\ngeq",
"\\nleq"
],
"spacing": [
"\\ ",
"\\,",