2 #ifndef MATHSIZEINSET_H
3 #define MATHSIZEINSET_H
5 #include "math_nestinset.h"
6 #include "math_metricsinfo.h"
12 /** An inset for \scriptsize etc
18 class MathSizeInset : public MathNestInset {
21 explicit MathSizeInset(latexkeys const * l);
23 MathInset * clone() const;
24 /// we write extra braces in any case...
25 bool extraBraces() const { return true; }
27 void metrics(MathMetricsInfo & st) const;
29 void draw(MathPainterInfo &, int x, int y) const;
32 void write(WriteStream & os) const;
34 void normalize(NormalStream &) const;
36 void infoize(std::ostream & os) const;
40 latexkeys const * key_;
42 MathStyles const style_;