1 #include "math_bigopinset.h"
2 #include "mathed/math_parser.h"
3 #include "mathed/support.h"
4 #include "support/LOstream.h"
9 MathBigopInset::MathBigopInset(const latexkeys * l)
14 MathInset * MathBigopInset::clone() const
16 return new MathBigopInset(*this);
20 void MathBigopInset::write(ostream & os, bool /* fragile */) const
22 os << '\\' << sym_->name << ' ';
26 void MathBigopInset::writeNormal(ostream & os) const
28 os << "[bigop " << sym_->name << "] ";
32 void MathBigopInset::metrics(MathStyles st) const
35 mathed_char_dim(LM_TC_BSYM, st, sym_->id, ascent_, descent_, width_);
39 void MathBigopInset::draw(Painter & pain, int x, int y) const
43 drawChar(pain, LM_TC_BSYM, size_, x, y, sym_->id);