7 #include "math_ertinset.h"
8 #include "math_mathmlstream.h"
9 #include "support/LOstream.h"
12 MathInset * MathErtInset::clone() const
14 return new MathErtInset(*this);
18 void MathErtInset::metrics(MathMetricsInfo & mi) const
20 MathFontSetChanger dummy(mi.base, "lyxert");
21 MathTextInset::metrics(mi);
22 cache_.colinfo_[0].align_ = 'l';
27 void MathErtInset::draw(MathPainterInfo & pi, int x, int y) const
29 MathFontSetChanger dummy(pi.base, "lyxert");
30 MathTextInset::draw(pi, x + 1, y);
31 drawMarkers2(pi, x, y);
35 void MathErtInset::write(WriteStream & os) const
40 os << "\\lyxert{" << cell(0) << '}';
44 void MathErtInset::infoize(std::ostream & os) const