mirror of
https://github.com/Smaug123/KaTeX
synced 2025-10-08 12:38:39 +00:00
Support \widecheck (#1406)
Fixes #1221. Implemented as an upside-down version of `\widehat`.
This commit is contained in:
@@ -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();
|
||||
|
Reference in New Issue
Block a user