2 #ifndef MATH_MACROTEMPLATE_H
3 #define MATH_MACROTEMPLATE_H
5 #include "math_inset.h"
13 /** This class contains the macro definition
14 \author Alejandro Aguilar Sierra
16 //class MathMacroTemplate : public MathInset, boost::noncopyable
18 class MathMacroTemplate : public MathInset {
23 MathMacroTemplate(string const & name, int nargs);
25 MathInset * clone() const;
27 void write(std::ostream &, bool fragile) const;
28 /// Number of arguments
33 void draw(Painter &, int, int);
35 void metrics(MathStyles st);
40 void operator=(MathMacroTemplate const &);