]> git.lyx.org Git - lyx.git/blob - src/mathed/math_matrixinset.h
make \newcommand{\bb}[1]{\mathbf{#1}} work for read/write/display.
[lyx.git] / src / mathed / math_matrixinset.h
1 // -*- C++ -*-
2 #ifndef MATH_MATRIXINSET_H
3 #define MATH_MATRIXINSET_H
4
5 #include "math_arrayinset.h"
6
7 #ifdef __GNUG__
8 #pragma interface
9 #endif
10
11 // "shortcut" for DelimInset("(",ArrayInset,")")
12
13 class MathMatrixInset : public MathArrayInset {
14 public: 
15         ///
16         MathMatrixInset(MathArrayInset const &);
17         ///
18         MathMatrixInset(string const & str);
19         ///
20         MathInset * clone() const;
21         ///
22         void metrics(MathMetricsInfo const &) const {}
23         /// identifies MatrixInsets
24         MathMatrixInset const * asMatrixInset() const { return this; }
25
26         ///
27         void write(WriteStream & os) const;
28         ///
29         void normalize(NormalStream &) const;
30         ///
31         void maplize(MapleStream &) const;
32         ///
33         void mathmlize(MathMLStream &) const;
34         ///
35         void octavize(OctaveStream &) const;
36 };
37
38 #endif