Support \mkern as an alias for \kern.
This commit is contained in:
parent
d5cedc55c9
commit
81bc24808b
|
@ -205,7 +205,9 @@ defineFunction("\\rule", {
|
|||
};
|
||||
});
|
||||
|
||||
defineFunction("\\kern", {
|
||||
// TODO: In TeX, \mkern only accepts mu-units, and \kern does not accept
|
||||
// mu-units. In current KaTeX we relax this; both commands accept any unit.
|
||||
defineFunction(["\\kern", "\\mkern"], {
|
||||
numArgs: 1,
|
||||
argTypes: ["size"],
|
||||
}, function(context, args) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user