2 #ifndef MATH_MACROTEMPLATE_H
3 #define MATH_MACROTEMPLATE_H
7 #include "math_inset.h"
15 /** This class contains the macro definition
16 \author Alejandro Aguilar Sierra
18 //class MathMacroTemplate : public MathInset, boost::noncopyable
20 class MathMacroTemplate : public MathInset {
25 MathMacroTemplate(string const & name, int nargs);
27 MathInset * clone() const;
29 void Write(std::ostream &, bool fragile) const;
30 /// Number of arguments
35 void draw(Painter &, int, int);
37 void Metrics(MathStyles st);
42 std::set<MathMacro *> users_;
45 void operator=(MathMacroTemplate const &);
47 //MathMacroTemplate(MathMacroTemplate const &);