2 #ifndef MATH_TABULARINSET_H
3 #define MATH_TABULARINSET_H
5 #include "math_gridinset.h"
9 * Inset for things like \begin{tabular}...\end{tabular}
11 * \author André Pönitz
13 * Full author contact details are available in file CREDITS
16 class MathTabularInset : public MathGridInset {
19 MathTabularInset(string const &, int m, int n);
21 MathTabularInset(string const &, int m, int n,
22 char valign, string const & halign);
24 MathTabularInset(string const &, char valign, string const & halign);
26 MathInset * clone() const;
28 void metrics(MathMetricsInfo & mi) const;
30 void draw(MathPainterInfo & pi, int x, int y) const;
32 MathTabularInset * asTabularInset() { return this; }
34 MathTabularInset const * asTabularInset() const { return this; }
37 void write(WriteStream & os) const;
39 void normalize(NormalStream &) const;
41 void maple(MapleStream &) const;