///
MathMacroTemplate();
///
- MathMacroTemplate(string const & name, int nargs,
+ MathMacroTemplate(string const & name, int nargs, string const & type,
MathArray const & = MathArray(), MathArray const & = MathArray());
///
explicit MathMacroTemplate(std::istream & is);
///
- MathInset * clone() const;
+ virtual std::auto_ptr<InsetBase> clone() const;
///
void write(WriteStream & os) const;
/// Number of arguments
///
string name() const;
///
- void draw(MathPainterInfo &, int x, int y) const;
+ void draw(PainterInfo &, int x, int y) const;
///
- void metrics(MathMetricsInfo & st) const;
+ void metrics(MetricsInfo & mi, Dimension & dim) const;
/// identifies macro templates
MathMacroTemplate * asMacroTemplate() { return this; }
/// identifies macro templates
int numargs_;
///
string name_;
+ /// newcommand or renewcommand or def
+ string type_;
};
#endif