2 #ifndef MATHMACROARGUMENT_H
3 #define MATHMACROARGUMENT_H
5 #include "math_nestinset.h"
12 \author Alejandro Aguilar Sierra
14 class MathMacroArgument : public MathNestInset {
17 explicit MathMacroArgument(int, MathTextCodes = LM_TC_MIN);
19 MathInset * clone() const;
21 bool isActive() const { return false; }
23 void metrics(MathMetricsInfo const & st) const;
25 void draw(Painter &, int x, int y) const;
27 void substitute(MathMacro const & macro);
30 void normalize(NormalStream &) const;
32 void write(WriteStream & os) const;
35 /// A number between 1 and 9
42 mutable MathMetricsInfo mi_;