}
-InsetMathBig::size_type InsetMathBig::size() const
+size_type InsetMathBig::size() const
{
// order: big Big bigg Bigg biggg Biggg
// 0 1 2 3 4 5
}
-void InsetMathBig::write(WriteStream & os) const
+void InsetMathBig::write(TeXMathStream & os) const
{
MathEnsurer ensurer(os);
os << '\\' << name_ << delim_;
}
-void InsetMathBig::mathmlize(MathStream & os) const
+void InsetMathBig::mathmlize(MathMLStream & ms) const
{
- os << "<mo form='prefix' fence='true' stretchy='true' symmetric='true'>"
- << convertDelimToXMLEscape(delim_)
- << "</mo>";
+ ms << MTagInline("mo", "fence='true' stretchy='true' symmetric='true'>")
+ << convertDelimToXMLEscape(delim_, ms.xmlMode())
+ << ETagInline("mo");
}
default: name = "big"; break;
}
os << MTag("span", "class='" + name + "symbol'")
- << convertDelimToXMLEscape(delim_)
+ << convertDelimToXMLEscape(delim_, false)
<< ETag("span");
}