2 #ifndef MATH_AMSARRAYINSET_H
3 #define MATH_AMSARRAYINSET_H
5 #include "math_gridinset.h"
12 * Inset for things like [pbvV]matrix, psmatrix etc
14 * \author André Pönitz
16 * Full author contact details are available in file CREDITS
19 class MathAMSArrayInset : public MathGridInset {
22 MathAMSArrayInset(string const & name, int m, int n);
24 MathAMSArrayInset(string const & name);
26 MathInset * clone() const;
28 void metrics(MathMetricsInfo & st) const;
30 void draw(MathPainterInfo & pain, int x, int y) const;
32 MathAMSArrayInset * asAMSArrayInset() { return this; }
34 MathAMSArrayInset const * asAMSArrayInset() const { return this; }
37 void write(WriteStream & os) const;
39 void normalize(NormalStream &) const;
43 char const * name_left() const;
45 char const * name_right() const;