}
+MathInset::mode_type MathFontInset::currentMode() const
+{
+ if (key_->extra == "mathmode")
+ return MATH_MODE;
+ if (key_->extra == "textmode")
+ return TEXT_MODE;
+ return UNDECIDED_MODE;
+}
+
+
void MathFontInset::metrics(MathMetricsInfo & mi) const
{
MathFontSetChanger dummy(mi.base, key_->name.c_str());