}
+Limits InsetMathClass::defaultLimits(bool display) const
+{
+ if (allowsLimitsChange() && display)
+ return LIMITS;
+ else
+ return NO_LIMITS;
+}
+
+
void InsetMathClass::metrics(MetricsInfo & mi, Dimension & dim) const
{
cell(0).metrics(mi, dim);
}
+void InsetMathClass::write(TeXMathStream & os) const
+{
+ InsetMathNest::write(os);
+ writeLimits(os);
+}
+
+
docstring InsetMathClass::name() const
{
return class_to_string(math_class_);