2 #ifndef MATHMACROARGUMENT_H
3 #define MATHMACROARGUMENT_H
5 #include "math_inset.h"
12 \author Alejandro Aguilar Sierra
14 class MathMacroArgument : public MathInset {
17 explicit MathMacroArgument(int);
19 MathInset * clone() const;
21 void Metrics(MathStyles st, int asc = 0, int des = 0);
23 void draw(Painter &, int x, int baseline);
25 void Write(std::ostream &, bool fragile) const;
27 void WriteNormal(std::ostream &) const;
29 void substitute(MathArray & array, MathMacro const & macro) const;
32 /// A number between 1 and 9