Accept all existing Greek letters using unicode characters in math mode (#410)

Test Plan:
- make test
- run screenshot tests on travis-ci
This commit is contained in:
Kevin Barabash
2017-08-14 00:31:43 -04:00
committed by GitHub
parent ef66f30912
commit e00738d16f
5 changed files with 57 additions and 42 deletions

View File

@@ -2332,3 +2332,13 @@ describe("A parser taking String objects", function() {
expect(new String("\\frac 1 2")).toParseLike("\\frac 1 2");
});
});
describe("Unicode", function() {
it("should parse all lower case Greek letters", function() {
expect("αβγδεϵζηθϑικλμνξοπϖρϱςστυφϕχψω").toParse();
});
it("should parse 'ΓΔΘΞΠΣΦΨΩ'", function() {
expect("ΓΔΘΞΠΣΦΨΩ").toParse();
});
});