MathML for Overset.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32718 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Richard Heck 2009-12-31 21:44:12 +00:00
parent 07aca7cccc
commit bee7a4c8d2
2 changed files with 8 additions and 0 deletions

View File

@ -84,6 +84,12 @@ void InsetMathOverset::normalize(NormalStream & os) const
}
void InsetMathOverset::mathmlize(MathStream & ms) const
{
ms << "<mover accent='false'>" << cell(0) << cell(1) << "</mover>";
}
void InsetMathOverset::validate(LaTeXFeatures & features) const
{
features.require("amsmath");

View File

@ -36,6 +36,8 @@ public:
///
void normalize(NormalStream &) const;
///
void mathmlize(MathStream &) const;
///
void validate(LaTeXFeatures & features) const;
///
InsetCode lyxCode() const { return MATH_OVERSET_CODE; }