2 #ifndef MATHMACROTEMPLATE
3 #define MATHMACROTEMPLATE
7 #include "math_parinset.h"
15 /** This class contains the macro definition
16 \author Alejandro Aguilar Sierra
18 //class MathMacroTemplate : public MathParInset, boost::noncopyable
20 class MathMacroTemplate : public MathParInset {
25 MathMacroTemplate(string const & name, int nargs);
27 void WriteDef(std::ostream &, bool fragile) const;
28 /// Number of arguments
31 void draw(Painter &, int, int);
38 std::set<MathMacro *> users_;
41 void operator=(MathMacroTemplate const &);
43 MathMacroTemplate(MathMacroTemplate const &);