2 #ifndef MATH_ARRAYINSET_H
3 #define MATH_ARRAYINSET_H
5 #include "math_gridinset.h"
12 class MathArrayInset : public MathGridInset {
15 MathArrayInset(string const &, int m, int n);
17 MathArrayInset(string const &, int m, int n,
18 char valign, string const & halign);
20 MathArrayInset(string const &, char valign, string const & halign);
21 /// convienience constructor from whitespace/newline seperated data
22 MathArrayInset(string const &, string const & str);
24 MathInset * clone() const;
26 void metrics(MathMetricsInfo & st) const;
28 MathArrayInset * asArrayInset() { return this; }
30 MathArrayInset const * asArrayInset() const { return this; }
33 void write(WriteStream & os) const;
35 void normalize(NormalStream &) const;
37 void maplize(MapleStream &) const;