]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathExFunc.cpp
tex2lyx/text.cpp: fix typos
[lyx.git] / src / mathed / InsetMathExFunc.cpp
index 61b3a43f165749e2435247433619a0f442cd3abb..35e2f62bcbab25a67421f1a99b6ba0c0423492c2 100644 (file)
@@ -44,7 +44,7 @@ Inset * InsetMathExFunc::clone() const
 
 void InsetMathExFunc::metrics(MetricsInfo & mi, Dimension & dim) const
 {
-       mathed_string_dim(mi.base.font, name_, dim);
+       metricsStrRedBlack(mi, dim, name_);
 }
 
 
@@ -122,6 +122,13 @@ void InsetMathExFunc::mathematica(MathematicaStream & os) const
 }
 
 
+void InsetMathExFunc::mathmlize(MathStream & os) const
+{
+       os << "<mi>" << name_ << "</mi><mo>&af;</mo>";
+       os << cell(0);
+}
+
+
 void InsetMathExFunc::octave(OctaveStream & os) const
 {
        os << name_ << '(' << cell(0) << ')';