}
-void InsetMathDelim::write(WriteStream & os) const
+void InsetMathDelim::write(TeXMathStream & os) const
{
MathEnsurer ensurer(os);
os << "\\left" << convertDelimToLatexName(left_) << cell(0)
}
-void InsetMathDelim::mathmlize(MathStream & ms) const
+void InsetMathDelim::mathmlize(MathMLStream & ms) const
{
- ms << "<" << from_ascii(ms.namespacedTag("mo")) << " form='prefix' fence='true' stretchy='true' symmetric='true'>"
+ ms << "<" << from_ascii(ms.namespacedTag("mrow")) << ">" << "\n"
+ << "<" << from_ascii(ms.namespacedTag("mo")) << " form='prefix' fence='true' stretchy='true' symmetric='true'>"
<< convertDelimToXMLEscape(left_, ms.xmlMode())
<< "</" << from_ascii(ms.namespacedTag("mo")) << ">"
<< "\n"
<< "\n"
<< "<" << from_ascii(ms.namespacedTag("mo")) << " form='postfix' fence='true' stretchy='true' symmetric='true'>"
<< convertDelimToXMLEscape(right_, ms.xmlMode())
- << "</" << from_ascii(ms.namespacedTag("mo")) << ">"
- << "\n";
+ << "</" << from_ascii(ms.namespacedTag("mo")) << ">" << "\n"
+ << "</" << from_ascii(ms.namespacedTag("mrow")) << ">" << "\n";
}