MathML for Underset. And fix Overset.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32719 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Richard Heck 2009-12-31 21:48:56 +00:00
parent bee7a4c8d2
commit f29db33e69
3 changed files with 9 additions and 1 deletions

View File

@ -86,7 +86,7 @@ void InsetMathOverset::normalize(NormalStream & os) const
void InsetMathOverset::mathmlize(MathStream & ms) const
{
ms << "<mover accent='false'>" << cell(0) << cell(1) << "</mover>";
ms << "<mover accent='false'>" << cell(1) << cell(0) << "</mover>";
}

View File

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

View File

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