* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
- * \author André Pönitz
+ * \author André Pönitz
*
* Full author contact details are available in file CREDITS.
*/
namespace lyx {
-InsetMathStackrel::InsetMathStackrel()
+InsetMathStackrel::InsetMathStackrel(Buffer * buf) : InsetMathFracBase(buf)
{}
void InsetMathStackrel::write(WriteStream & os) const
{
- bool brace = ensureMath(os);
+ MathEnsurer ensurer(os);
os << "\\stackrel{" << cell(0) << "}{" << cell(1) << '}';
- os.pendingBrace(brace);
}
}
+void InsetMathStackrel::mathmlize(MathStream & ms) const
+{
+ ms << "<mover accent='false'>" << cell(1) << cell(0) << "</mover>";
+}
+
} // namespace lyx