mirror of
https://github.com/Smaug123/KaTeX
synced 2025-10-05 19:28:39 +00:00
Support \mkern as an alias for \kern.
This commit is contained in:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user