add \ae, \AE, \oe, \OE, \o, \O, \ss with unicode support for those characters in text mode (#1030)

This commit is contained in:
Kevin Barabash
2017-12-22 12:42:43 -07:00
committed by GitHub
parent 2b2cf73f2e
commit 522b238e20
5 changed files with 28 additions and 5 deletions

View File

@@ -2843,4 +2843,10 @@ describe("Symbols", function() {
it("should parse \\text{\\i\\j}", () => {
expect("\\text{\\i\\j}").toParse();
});
it("should render ligature commands like their unicode characters", () => {
const commands = getBuilt("\\text{\\ae\\AE\\oe\\OE\\o\\O\\ss}");
const unicode = getBuilt("\\text{æÆœŒøØß}");
expect(commands).toEqual(unicode);
});
});