2 #ifndef MATH_SUBSTACK_H
3 #define MATH_SUBSTACK_H
5 #include "math_gridinset.h"
8 /// support for AMS's \\substack
10 class MathSubstackInset : public MathGridInset {
15 virtual std::auto_ptr<InsetBase> clone() const;
17 void metrics(MetricsInfo & mi, Dimension & dim) const;
19 void draw(PainterInfo & pi, int x, int y) const;
21 MathSubstackInset const * asSubstackInset() const { return this; }
26 void infoize(std::ostream & os) const;
28 void write(WriteStream & os) const;
30 void normalize(NormalStream &) const;
32 void maple(MapleStream &) const;