Support \widecheck (#1406)

Fixes #1221.

Implemented as an upside-down version of `\widehat`.
This commit is contained in:
Ron Kok
2018-06-04 18:05:07 -07:00
committed by Kevin Barabash
parent 1e645198f7
commit 89e180c5a6
7 changed files with 35 additions and 11 deletions

View File

@@ -1865,6 +1865,7 @@ describe("An accent parser", function() {
it("should parse stretchy, shifty accents", function() {
expect("\\widehat{x}").toParse();
expect("\\widecheck{x}").toParse();
});
it("should parse stretchy, non-shifty accents", function() {
@@ -1892,6 +1893,7 @@ describe("An accent builder", function() {
describe("A stretchy and shifty accent builder", function() {
it("should not fail", function() {
expect("\\widehat{AB}").toBuild();
expect("\\widecheck{AB}").toBuild();
expect("\\widehat{AB}^2").toBuild();
expect("\\widehat{AB}_2").toBuild();
expect("\\widehat{AB}_2^2").toBuild();