2 #ifndef MATH_BOXINSET_H
3 #define MATH_BOXINSET_H
5 #include "math_nestinset.h"
14 /// Support for \\mbox
16 class MathBoxInset : public MathNestInset {
19 explicit MathBoxInset(string const & name);
21 MathInset * clone() const;
23 mode_type currentMode() const { return TEXT_MODE; }
25 void metrics(MathMetricsInfo & mi) const;
27 void draw(MathPainterInfo & pi, int x, int y) const;
29 void write(WriteStream & os) const;
31 void normalize(NormalStream & ns) const;
33 void infoize(std::ostream & os) const;