2 #ifndef MATH_BIGOPINSET_H
3 #define MATH_BIGOPINSET_H
5 #include "math_updowninset.h"
8 class MathBigopInset : public MathUpDownInset {
11 MathBigopInset(string const &, int);
13 MathInset * clone() const;
15 void Write(std::ostream &, bool fragile) const;
17 void WriteNormal(std::ostream &) const;
19 void Metrics(MathStyles st, int asc = 0, int des = 0);
21 void draw(Painter &, int, int);
26 /// Identifies BigopInsets
27 bool isBigopInset() const { return true; }
30 bool hasLimits() const;
37 /// 1: \limits, -1: \nolimits, 0: use default
39 /// x offset for drawing the superscript
41 /// x offset for drawing the subscript
43 /// x offset for drawing the inner symbol