3 #include "math_ertinset.h"
4 #include "math_mathmlstream.h"
6 #include "support/LOstream.h"
8 MathInset * MathErtInset::clone() const
10 return new MathErtInset(*this);
14 void MathErtInset::metrics(MathMetricsInfo & mi) const
16 MathFontSetChanger dummy(mi.base, "lyxert");
17 MathTextInset::metrics(mi);
18 cache_.colinfo_[0].align_ = 'l';
23 void MathErtInset::draw(MathPainterInfo & pi, int x, int y) const
25 MathFontSetChanger dummy(pi.base, "lyxert");
26 MathTextInset::draw(pi, x + 1, y);
27 drawMarkers2(pi, x, y);
31 void MathErtInset::write(WriteStream & os) const
36 os << "\\lyxert{" << cell(0) << '}';
40 void MathErtInset::infoize(std::ostream & os) const