]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathExFunc.cpp
Add \makeat switches to babel settings if necessary.
[lyx.git] / src / mathed / InsetMathExFunc.cpp
index 5b79f60fa3e677e0bb9a24f3074a71b0c07b2373..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_);
 }
 
 
@@ -124,7 +124,8 @@ void InsetMathExFunc::mathematica(MathematicaStream & os) const
 
 void InsetMathExFunc::mathmlize(MathStream & os) const
 {
-       os.os() << "<mi>" << name_ << "</mi>" << "&af;" << cell(0);
+       os << "<mi>" << name_ << "</mi><mo>&af;</mo>";
+       os << cell(0);
 }