// << "'\n";
MathFontSetChanger dummy(mi.base, sym_->inset.c_str());
mathed_string_dim(mi.base.font, sym_->draw, ascent_, descent_, width_);
+ // correct height for broken cmex font
if (sym_->inset == "cmex") {
h_ = 4 * descent_ / 5;
ascent_ += h_;
}
if (isRelOp())
width_ += 6;
- scriptable_ = (mi.base.style == LM_ST_DISPLAY && sym_->inset == "cmex");
+
+ scriptable_ = false;
+ if (mi.base.style == LM_ST_DISPLAY)
+ if (sym_->inset == "cmex" || sym_->extra == "funclim")
+ scriptable_ = true;
}
bool MathSymbolInset::takesLimits() const
{
- return sym_->inset == "cmex" || sym_->inset == "lyxboldsymb";
+ return
+ sym_->inset == "cmex" ||
+ sym_->inset == "lyxboldsymb" ||
+ sym_->extra == "funclim";
}
{
if (name() == "cdot")
os << '*';
+ else if (name() == "infty")
+ os << "infinity";
else
os << name();
}