return MathAtom(new InsetMathDecoration(buf, l));
if (inset == "space")
return MathAtom(new InsetMathSpace(to_ascii(l->name), ""));
+ if (inset == "class")
+ return MathAtom(new InsetMathClass(buf, string_to_class(s)));
if (inset == "dots")
return MathAtom(new InsetMathDots(l));
if (inset == "mbox")
return MathAtom(new InsetMathMakebox(buf, true));
if (s == "makebox")
return MathAtom(new InsetMathMakebox(buf, false));
- if (s == "kern")
+ if (s == "kern" || s == "mkern")
return MathAtom(new InsetMathKern);
if (s.substr(0, 8) == "xymatrix") {
char spacing_code = '\0';
if (s == "regexp")
return MathAtom(new InsetMathHull(buf, hullRegexp));
- MathClass const mc = string_to_class(s);
- if (mc != MC_UNKNOWN)
- return MathAtom(new InsetMathClass(buf, mc));
-
return MathAtom(new MathMacro(buf, s));
}