]> git.lyx.org Git - features.git/commit
Accept \kern and \mkern for math kerning
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Tue, 6 Dec 2016 15:29:38 +0000 (16:29 +0100)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Tue, 6 Dec 2016 15:29:38 +0000 (16:29 +0100)
commit10c8d51b9032ebc968c50c740c9cb883b3b3cfb9
tree592f1aa18bc3cc6ecce404bb286deb7c81c0ff48
parentc8a829d273020d10ae5a22eb8a9fabafe7b81e6e
Accept \kern and \mkern for math kerning

Also output the right one depending on whether the unit is "mu" or
not. Indeed, the two macros are identical, except that \mkern only
accepts unit mu, and kern does not accept it.

With this patch, both macros accept all units, but on writing beck,
the right one is used.
src/mathed/InsetMathKern.cpp
src/mathed/MathFactory.cpp
src/mathed/MathParser.cpp