Support Unicode Binary Operators (#951)

This is the fourth in a series of PRs to give KaTeX the ability to recognize Unicode character input.

All the characters in this PR will produce `bin` atoms.
This commit is contained in:
Ron Kok
2017-11-21 09:20:56 -08:00
committed by Erik Demaine
parent 839f872faa
commit 2d32263998
2 changed files with 42 additions and 38 deletions

View File

@@ -2633,6 +2633,10 @@ describe("Unicode", function() {
it("should parse more relations", function() {
expect("⊂⊃⊆⊇⊏⊐⊑⊒⊢⊣⊩⊪⊸⋈⋍⋐⋑⋔⋙⋛⋞⋟⌢⌣⩾⪆⪌⪕⪖⪯⪰⪷⪸⫅⫆").toParse();
});
it("should parse binary operators", function() {
expect("±×÷∓∔∧∨∩∪≀⊎⊓⊔⊕⊖⊗⊘⊙⊚⊛⊝⊞⊟⊠⊡⊺⊻⊼⋇⋉⋊⋋⋌⋎⋏⋒⋓⩞").toParse();
});
});
describe("The maxSize setting", function() {