Improve MathML for characters in Unicode private use area (#1908)

* Add macros for private area characters

* Add \nsupseteqq and \nsubseteqq
This commit is contained in:
Ron Kok
2019-03-28 09:37:54 -07:00
committed by GitHub
parent 27d557bccf
commit 21f7fe85d5
3 changed files with 38 additions and 14 deletions

View File

@@ -2998,6 +2998,12 @@ describe("A macro expander", function() {
expect('\\char"g').not.toParse();
});
it("should build Unicode private area characters", function() {
expect`\gvertneqq\lvertneqq\ngeqq\ngeqslant\nleqq`.toBuild();
expect`\nleqslant\nshortmid\nshortparallel\varsubsetneq`.toBuild();
expect`\varsubsetneqq\varsupsetneq\varsupsetneqq`.toBuild();
});
// TODO(edemaine): This doesn't work yet. Parses like `\text text`,
// which doesn't treat all four letters as an argument.
//it("\\TextOrMath should work in a macro passed to \\text", function() {