InsetMath const * asInsetMath() const { return this; }
/// this is overridden in math text insets (i.e. mbox)
bool inMathed() const { return true; }
+ ///
+ virtual docstring name() const;
/// this is overridden by specific insets
virtual mode_type currentMode() const { return MATH_MODE; }
/// superscript kerning
virtual int kerning(BufferView const *) const { return 0; }
///
+ bool isInToc() const { return true; }
+ ///
InsetCode lyxCode() const { return MATH_CODE; }
};