2 #ifndef MATH_MAKEBOXINSET_H
3 #define MATH_MAKEBOXINSET_H
5 #include "math_nestinset.h"
11 /** Extra nesting: \\makebox.
14 * Full author contact details are available in file CREDITS
17 // consolidate with MathFrameboxInset?
19 class MathMakeboxInset : public MathNestInset {
24 MathInset * clone() const;
26 void metrics(MetricsInfo & mi) const;
28 void draw(PainterInfo & pi, int x, int y) const;
30 void write(WriteStream & os) const;
31 /// write normalized content
32 void normalize(NormalStream & ns) const;
34 mode_type currentMode() const { return TEXT_MODE; }
36 /// width of '[' in current font