]> git.lyx.org Git - features.git/blobdiff - src/mathed/math_factory.C
More fonts in mathed.
[features.git] / src / mathed / math_factory.C
index 4078da8ed39ac79e22d4237bd7908fb9103fd359..fae6732e9227b8f090e7073b9a46511ab5db8448 100644 (file)
 MathInset * createMathInset(latexkeys const * l)
 {
        switch (l->token) {
-               case LM_TK_NOGLYPH:
-               case LM_TK_NOGLYPHB:
-                       return new MathNoglyphInset(l);
-               case LM_TK_BIGSYM:
-                       return new MathBigopInset(l);
-               case LM_TK_FUNCLIM:
-                       return new MathFuncLimInset(l);
-               case LM_TK_SPECIAL:
-                       return new MathSpecialCharInset(l->id);
-               case LM_TK_SYM: 
-                       return new MathSymbolInset(l);
-               case LM_TK_STACK:
-                       return new MathStackrelInset;
-               case LM_TK_KERN: 
-                       return new MathKernInset;
-               case LM_TK_BINOM:
-               case LM_TK_CHOOSE:
-                       return new MathBinomInset;
-               case LM_TK_OVER:
-               case LM_TK_FRAC:
-                       return new MathFracInset;
-               case LM_TK_ATOP:
-                       return new MathFracInset(true);
-               case LM_TK_NOT:
-                       return new MathNotInset;
-               case LM_TK_SQRT:
-                       return new MathSqrtInset;
-               case LM_TK_ROOT:
-                       return new MathRootInset;
-               case LM_TK_DECORATION:
-                       return new MathDecorationInset(l);
-               case LM_TK_SPACE:
-                       return new MathSpaceInset(l->id);
-               case LM_TK_DOTS:
-                       return new MathDotsInset(l);
+       case LM_TK_NOGLYPH:
+       case LM_TK_NOGLYPHB:
+               return new MathNoglyphInset(l);
+       case LM_TK_BIGSYM:
+               return new MathBigopInset(l);
+       case LM_TK_FUNCLIM:
+               return new MathFuncLimInset(l);
+       case LM_TK_SPECIAL:
+               return new MathSpecialCharInset(l->id);
+       case LM_TK_SYM:
+       case LM_TK_CMSY:
+       case LM_TK_CMM:
+       case LM_TK_CMEX:
+       case LM_TK_MSA:
+       case LM_TK_MSB:
+               return new MathSymbolInset(l);
+       case LM_TK_STACK:
+               return new MathStackrelInset;
+       case LM_TK_KERN: 
+               return new MathKernInset;
+       case LM_TK_BINOM:
+       case LM_TK_CHOOSE:
+               return new MathBinomInset;
+       case LM_TK_OVER:
+       case LM_TK_FRAC:
+               return new MathFracInset;
+       case LM_TK_ATOP:
+               return new MathFracInset(true);
+       case LM_TK_NOT:
+               return new MathNotInset;
+       case LM_TK_SQRT:
+               return new MathSqrtInset;
+       case LM_TK_ROOT:
+               return new MathRootInset;
+       case LM_TK_DECORATION:
+               return new MathDecorationInset(l);
+       case LM_TK_SPACE:
+               return new MathSpaceInset(l->id);
+       case LM_TK_DOTS:
+               return new MathDotsInset(l);
        }
        return new MathFuncInset(l->name);
 }