4 #include "math_substackinset.h"
5 #include "math_mathmlstream.h"
6 #include "math_streamstr.h"
9 MathSubstackInset::MathSubstackInset()
14 MathInset * MathSubstackInset::clone() const
16 return new MathSubstackInset(*this);
20 void MathSubstackInset::metrics(MathMetricsInfo & mi) const
22 if (mi.base.style == LM_ST_DISPLAY) {
23 MathStyleChanger dummy(mi.base, LM_ST_TEXT);
24 MathGridInset::metrics(mi);
26 MathGridInset::metrics(mi);
31 void MathSubstackInset::write(WriteStream & os) const
34 MathGridInset::write(os);
39 void MathSubstackInset::normalize(NormalStream & os) const
42 MathGridInset::normalize(os);
47 void MathSubstackInset::maplize(MapleStream & os) const
50 MathGridInset::maplize(os);