Fix \not vertical alignment (#1497)

* Fix \not vertical alignment

Fix #1491 by changing from `position: absolute` to `position: relative`.

* Switch to \rlap implementation of \not

* Separate \not the macro from \not the symbol via \@not

* Fix test
This commit is contained in:
Erik Demaine
2018-07-23 13:01:02 -04:00
committed by ylemkimon
parent 237986a7ca
commit cbd3afd738
4 changed files with 12 additions and 11 deletions

View File

@@ -93,7 +93,11 @@ describe("A rel parser", function() {
if (group.type === "htmlmathml") {
group = group.value.html[0];
}
expect(group.type).toEqual("rel");
if (group.type === "mclass") {
expect(group.value.mclass).toEqual("mrel");
} else {
expect(group.type).toEqual("rel");
}
}
});
});