enable tfrac

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9227 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Alfredo Braunstein 2004-11-11 12:01:34 +00:00
parent 22e5c2519c
commit 15e1e89df2
3 changed files with 9 additions and 3 deletions

View File

@ -1,3 +1,7 @@
2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
* Makefile.am: add math_tfracinset.[Ch]
2004-11-07 Lars Gullik Bjonnes <larsbj@gullik.net>
* math_parser.C (parse1): change to use lyx::support::atoi

View File

@ -141,6 +141,8 @@ libmathed_la_SOURCES = \
math_symbolinset.h \
math_tabularinset.C \
math_tabularinset.h \
math_tfracinset.C \
math_tfracinset.h \
math_unknowninset.C \
math_unknowninset.h \
math_undersetinset.C \

View File

@ -46,7 +46,7 @@
#include "math_substackinset.h"
#include "math_symbolinset.h"
#include "math_tabularinset.h"
//#include "math_tfracinset.h"
#include "math_tfracinset.h"
#include "math_undersetinset.h"
#include "math_unknowninset.h"
#include "math_xarrowinset.h"
@ -321,8 +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 (s == "tfrac")
return MathAtom(new MathTfracInset);
if (MacroTable::globalMacros().has(s))
return MathAtom(new MathMacro(s,