mirror of
https://github.com/Smaug123/KaTeX
synced 2025-10-08 12:38:39 +00:00
Add \choose support
Test Plan: Looked at `1 + 2\choose {3 \over 4}`, npm tested. Reviewers: emily Reviewed By: emily Differential Revision: http://phabricator.khanacademy.org/D13903
This commit is contained in:
@@ -559,6 +559,9 @@ describe("An over parser", function() {
|
||||
it("should fail with multiple overs in the same group", function () {
|
||||
var badMultipleOvers = "1 \\over 2 + 3 \\over 4";
|
||||
expect(badMultipleOvers).toNotParse();
|
||||
|
||||
var badOverChoose = "1 \\over 2 \\choose 3";
|
||||
expect(badOverChoose).toNotParse();
|
||||
});
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user