7 #include "math_substackinset.h"
8 #include "math_mathmlstream.h"
9 #include "math_streamstr.h"
12 MathSubstackInset::MathSubstackInset()
17 MathInset * MathSubstackInset::clone() const
19 return new MathSubstackInset(*this);
23 void MathSubstackInset::metrics(MathMetricsInfo const & st) const
25 MathMetricsInfo mi = st;
26 if (mi.style == LM_ST_DISPLAY)
27 mi.style = LM_ST_TEXT;
28 MathGridInset::metrics(mi);
32 void MathSubstackInset::write(WriteStream & os) const
35 MathGridInset::write(os);
40 void MathSubstackInset::normalize(NormalStream & os) const
43 MathGridInset::normalize(os);
48 void MathSubstackInset::maplize(MapleStream & os) const
51 MathGridInset::maplize(os);