}
-void MathFuncLimInset::write(ostream & os, bool /* fragile */) const
+bool MathFuncLimInset::isScriptable() const
+{
+ return size_.style == LM_ST_DISPLAY;
+}
+
+
+void MathFuncLimInset::write(MathWriteInfo & os) const
{
os << '\\' << sym_->name << ' ';
}
}
-void MathFuncLimInset::metrics(MathStyles st) const
+void MathFuncLimInset::metrics(MathMetricsInfo const & st) const
{
- size(st);
- mathed_string_dim(LM_TC_TEXTRM, size(), sym_->name, ascent_, descent_, width_);
+ size_ = st;
+ mathed_string_dim(LM_TC_TEXTRM, size_, sym_->name,
+ ascent_, descent_, width_);
}