Fix \llap and \rlap (wrong placement of TeXAtom incorrectly blocked the width = 0)

This commit is contained in:
Davide P. Cervone 2011-10-17 05:28:36 -04:00
parent 0c523ac8df
commit 6901409fae
2 changed files with 4 additions and 75 deletions

File diff suppressed because one or more lines are too long

View File

@ -1342,9 +1342,9 @@
},
Lap: function (name) {
var mml = MML.TeXAtom(MML.mpadded(this.ParseArg(name)).With({width: 0}));
var mml = MML.mpadded(this.ParseArg(name)).With({width: 0});
if (name === "\\llap") {mml.lspace = "-1 width"}
this.Push(mml);
this.Push(MML.TeXAtom(mml));
},
RaiseLower: function (name) {