namespace lyx {
InsetMathEnsureMath::InsetMathEnsureMath(Buffer * buf)
- : InsetMathNest(buf, 1)
+ : InsetMathGrid(buf, 1, 1)
{}
}
-void InsetMathEnsureMath::write(WriteStream & os) const
+void InsetMathEnsureMath::write(TeXMathStream & os) const
{
ModeSpecifier specifier(os, MATH_MODE);
os << "\\ensuremath{" << cell(0) << "}";
}
-void InsetMathEnsureMath::mathmlize(MathStream & ms) const
+void InsetMathEnsureMath::mathmlize(MathMLStream & ms) const
{
SetMode mathmode(ms, false);
ms << MTag("mstyle", "class='math'")