2 #ifndef MATH_AMSARRAYINSET_H
3 #define MATH_AMSARRAYINSET_H
5 #include "math_gridinset.h"
12 class MathAMSArrayInset : public MathGridInset {
15 MathAMSArrayInset(string const & name_, int m, int n);
17 MathAMSArrayInset(string const & name_);
19 MathInset * clone() const;
21 void metrics(MathMetricsInfo const & st) const;
23 void draw(Painter & pain, int x, int y) const;
25 MathAMSArrayInset * asAMSArrayInset() { return this; }
28 void write(WriteStream & os) const;
30 void normalize(NormalStream &) const;
32 void maplize(MapleStream &) const;
36 char const * name_left() const;
38 char const * name_right() const;