mirror of
https://github.com/Smaug123/KaTeX
synced 2025-10-06 03:38:39 +00:00
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:
@@ -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");
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
|
Reference in New Issue
Block a user