}
+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);
- metricsMarkers(dim);
}
void InsetMathClass::draw(PainterInfo & pi, int x, int y) const
{
- cell(0).draw(pi, x + 1, y);
- drawMarkers(pi, x, y);
+ cell(0).draw(pi, x, y);
+}
+
+
+void InsetMathClass::write(TeXMathStream & os) const
+{
+ InsetMathNest::write(os);
+ writeLimits(os);
}