- ///
- void dump() const;
- ///
- void validate(LaTeXFeatures & features) const;
- ///
- void handleFont(MathTextCodes) {}
-
- /// make sure superscript is available
- MathScriptInset * ensure(bool up);
- /// delete subscript array if empty
- void removeEmptyScripts();
- /// can we add a super- or subscript?
- virtual bool allows(bool up) const { return script_[up] == 0; }
- /// can we add a super- or subscript?
- virtual bool allowsLimits() const { return true; }
- /// set limits
- void limits(int lim) { limits_ = lim; }
- ///
- int limits() const { return limits_; }
- ///
- bool hasLimits() const;
- /// returns superscript
- MathScriptInset * up() const;
- /// returns subscript
- MathScriptInset * down() const;
- ///
- MathInset * nucleus() const { return nucleus_; }
- ///
- void substitute(const MathMacro &);
- ///
- void write(std::ostream &, bool) const;
- ///
- void writeNormal(std::ostream &) const;