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