mirror of
https://github.com/Smaug123/KaTeX
synced 2025-10-06 03:38:39 +00:00
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:
@@ -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() {
|
||||
|
Reference in New Issue
Block a user