]> git.lyx.org Git - lyx.git/blob - src/mathed/math_arrayinset.h
make \newcommand{\bb}[1]{\mathbf{#1}} work for read/write/display.
[lyx.git] / src / mathed / math_arrayinset.h
1 // -*- C++ -*-
2 #ifndef MATH_ARRAYINSET_H
3 #define MATH_ARRAYINSET_H
4
5 #include "math_gridinset.h"
6
7 #ifdef __GNUG__
8 #pragma interface
9 #endif
10
11
12 class MathArrayInset : public MathGridInset {
13 public: 
14         ///
15         MathArrayInset(int m, int n);
16         ///
17         MathArrayInset(int m, int n, char valign, string const & halign);
18         ///
19         MathArrayInset(char valign, string const & halign);
20         /// convienience constructor from whitespace/newline seperated data
21         MathArrayInset(string const & str);
22         ///
23         MathInset * clone() const;
24         ///
25         void metrics(MathMetricsInfo const & st) const;
26         ///
27         MathArrayInset * asArrayInset() { return this; }
28
29         ///
30         void write(WriteStream & os) const;
31         ///
32         void normalize(NormalStream &) const;
33         ///
34         void maplize(MapleStream &) const;
35 };
36
37 #endif