return MathAtom(new MathStackrelInset);
case LM_TK_UNDERSET:
return MathAtom(new MathUndersetInset);
- case LM_TK_KERN:
- return MathAtom(new MathKernInset);
case LM_TK_BINOM:
case LM_TK_CHOOSE:
return MathAtom(new MathBinomInset);
&& s[2] >= '1' && s[2] <= '9')
return MathAtom(new MathMacroArgument(s[2] - '0'));
+ if (s == "kern")
+ return MathAtom(new MathKernInset);
+
if (s == "xymatrix")
return MathAtom(new MathXYMatrixInset);
- if (s == "xrightarrow")
+ if (s == "xrightarrow" || s == "xleftarrow")
return MathAtom(new MathXArrowInset(s));
if (s == "split" || s == "gathered" || s == "aligned")
return MathAtom(new MathArrayInset(s, 1, 1));
if (s == "pmatrix" || s == "bmatrix" || s == "vmatrix" || s == "Vmatrix" ||
- s == "matrix")
+ s == "matrix")
return MathAtom(new MathAMSArrayInset(s));
latexkeys const * l = in_word_set(s);
if (l)
return createMathInset(l);
- if (MathMacroTable::has(s))
+ if (MathMacroTable::has(s))
return MathAtom(new MathMacro(s));
//cerr << "creating inset 2 with name: '" << s << "'\n";