mirror of
https://github.com/Smaug123/KaTeX
synced 2025-10-05 11:18:39 +00:00
Add llap and rlap
Summary: By the powers of Greyskull (and maybe css) we have vanquished the great and powerful llap! All hail! Test Plan: Add some \llap and \rlap. Make sure it's positioned correctly. Reviewers: spicyj Reviewed By: spicyj Differential Revision: http://phabricator.benalpert.com/D48
This commit is contained in:
@@ -80,6 +80,12 @@ var buildGroup = function(group, prev) {
|
||||
|
||||
return makeSpan("mord mspace " + spacingClassMap[group.value]);
|
||||
}
|
||||
} else if (group.type === "llap") {
|
||||
var inner = makeSpan("", buildExpression(group.value));
|
||||
return makeSpan("llap", inner);
|
||||
} else if (group.type === "rlap") {
|
||||
var inner = makeSpan("", buildExpression(group.value));
|
||||
return makeSpan("rlap", inner);
|
||||
} else {
|
||||
console.log("Unknown type:", group.type);
|
||||
}
|
||||
|
Reference in New Issue
Block a user