#include "InsetMathTFrac.h"
#include "MathData.h"
-#include "MathMLStream.h"
+#include "MathStream.h"
#include "LaTeXFeatures.h"
#include "LColor.h"
#include "frontends/Painter.h"
+namespace lyx {
+
+
using std::string;
using std::max;
using std::auto_ptr;
}
-string InsetMathTFrac::name() const
+docstring InsetMathTFrac::name() const
{
- return "tfrac";
+ return from_ascii("tfrac");
}
-void InsetMathTFrac::mathmlize(MathMLStream & os) const
+void InsetMathTFrac::mathmlize(MathStream & os) const
{
os << MTag("mtfrac") << cell(0) << cell(1) << ETag("mtfrac");
}
features.require("amsmath");
InsetMathNest::validate(features);
}
+
+
+} // namespace lyx