]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_factory.C
get rid of broken_header.h and some unneeded tests
[lyx.git] / src / mathed / math_factory.C
index 5ed3010ee4b541d7c1a89be80435225e62e55414..5f1a8a0167a5e08bf8fe0fdaafe0bb890b5e16bb 100644 (file)
@@ -46,6 +46,7 @@
 #include "math_substackinset.h"
 #include "math_symbolinset.h"
 #include "math_tabularinset.h"
+#include "math_tfracinset.h"
 #include "math_undersetinset.h"
 #include "math_unknowninset.h"
 #include "math_xarrowinset.h"
@@ -320,6 +321,8 @@ MathAtom createMathInset(string const & s)
                return MathAtom(new MathColorInset(false));
        if (s == "dfrac")
                return MathAtom(new MathDfracInset);
+       if (s == "tfrac")
+               return MathAtom(new MathTfracInset);
 
        if (MacroTable::globalMacros().has(s))
                return MathAtom(new MathMacro(s,