www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

commit 81bc24808b40be8901a4540de7131b72be58fb16
parent d5cedc55c99e87627e4da311b6f71c07154cd185
Author: Eddie Kohler <ekohler@gmail.com>
Date:   Thu,  8 Dec 2016 15:04:11 -0500

Support \mkern as an alias for \kern.

Diffstat:
Msrc/functions.js | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/functions.js b/src/functions.js @@ -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) {