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:
Emily Eisenberg
2013-07-09 16:02:44 -07:00
parent b016015d4e
commit 66a43f551d
4 changed files with 25 additions and 1 deletions

View File

@@ -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);
}