3 * \file math_substackinset.h
4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
9 * Full author contact details are available in file CREDITS.
12 #ifndef MATH_SUBSTACK_H
13 #define MATH_SUBSTACK_H
15 #include "math_gridinset.h"
18 /// support for AMS's \\substack
20 class MathSubstackInset : public MathGridInset {
25 virtual std::auto_ptr<InsetBase> clone() const;
27 void metrics(MetricsInfo & mi, Dimension & dim) const;
29 void draw(PainterInfo & pi, int x, int y) const;
31 MathSubstackInset const * asSubstackInset() const { return this; }
36 void infoize(std::ostream & os) const;
38 void write(WriteStream & os) const;
40 void normalize(NormalStream &) const;
42 void maple(MapleStream &) const;