2 #ifndef MATH_EXFUNCINSET_H
3 #define MATH_EXFUNCINSET_H
5 #include "math_nestinset.h"
7 // f(x) in one block (as opposed to 'f','(','x',')' or 'f','x')
8 // for interfacing external programs
10 class MathExFuncInset : public MathNestInset {
13 explicit MathExFuncInset(string const & name);
15 MathExFuncInset(string const & name, MathArray const & ar);
17 MathInset * clone() const;
19 void metrics(MathMetricsInfo & st) const;
21 void draw(MathPainterInfo &, int x, int y) const;
24 void normalize(NormalStream &) const;
26 void maplize(MapleStream &) const;
28 void mathmlize(MathMLStream &) const;
30 void octavize(OctaveStream &) const;
32 void write(WriteStream & os) const;