///
explicit InsetMathMacroTemplate(Buffer * buf);
///
- InsetMathMacroTemplate(Buffer * buf, docstring const & name, int nargs,
- int optional, MacroType type,
+ InsetMathMacroTemplate(Buffer * buf, docstring const & name, int numargs,
+ int optionals, MacroType type,
std::vector<MathData> const & optionalValues = std::vector<MathData>(),
MathData const & def = MathData(),
MathData const & display = MathData());
///
void write(std::ostream & os) const override;
///
- void write(WriteStream & os) const override;
+ void write(TeXMathStream & os) const override;
/// Output LaTeX code, but assume that the macro is not defined yet
/// if overwriteRedefinition is true
- int write(WriteStream & os, bool overwriteRedefinition) const;
+ int write(TeXMathStream & os, bool overwriteRedefinition) const;
/// Nothing happens. This is simply to suppress the default output.
docstring xhtml(XMLStream &, OutputParams const &) const override;
///