2 #ifndef MATH_DIFFINSET_H
3 #define MATH_DIFFINSET_H
5 // d f(x)/dx in one block
6 // for interfacing external programs
8 #include "math_nestinset.h"
10 class MathDiffInset : public MathNestInset {
13 explicit MathDiffInset();
15 MathInset * clone() const;
17 void addDer(MathArray const & der);
19 void metrics(MathMetricsInfo const & st) const;
21 void draw(Painter &, int x, int y) const;
24 void normalize(NormalStream &) const;
26 void maplize(MapleStream &) const;
28 void mathmlize(MathMLStream &) const;
30 void write(WriteStream & os) const;