]> git.lyx.org Git - lyx.git/blob - src/mathed/math_substackinset.h
introduce namespace lyx::support
[lyx.git] / src / mathed / math_substackinset.h
1 // -*- C++ -*-
2 #ifndef MATH_SUBSTACK_H
3 #define MATH_SUBSTACK_H
4
5 #include "math_gridinset.h"
6
7
8 /// support for AMS's \\substack
9
10 class MathSubstackInset : public MathGridInset {
11 public:
12         ///
13         MathSubstackInset();
14         ///
15         InsetBase * clone() const;
16         ///
17         void metrics(MetricsInfo & mi, Dimension & dim) const;
18         ///
19         void draw(PainterInfo & pi, int x, int y) const;
20         ///
21         MathSubstackInset const * asSubstackInset() const { return this; }
22
23         ///
24         void normalize();
25         ///
26         void infoize(std::ostream & os) const;
27         ///
28         void write(WriteStream & os) const;
29         ///
30         void normalize(NormalStream &) const;
31         ///
32         void maple(MapleStream &) const;
33 };
34
35 #endif