struct latexkeys;
-/// big operators
+// "normal" symbols that don't take limits and don't grow in displayed
+// formulae
+
class MathSymbolInset : public MathDimInset {
public:
///
///
MathInset * clone() const;
///
- void write(std::ostream &, bool fragile) const;
+ void write(MathWriteInfo & os) const;
///
void writeNormal(std::ostream &) const;
///
- void metrics(MathStyles st);
+ void metrics(MathMetricsInfo const & st) const;
+ ///
+ void draw(Painter &, int x, int y) const;
///
- void draw(Painter &, int, int);
+ bool isRelOp() const;
///
- bool isScriptable() const { return true; }
+ bool isScriptable() const;
+ /// identifies things that can get \limits or \nolimits
+ bool takesLimits() const;
private:
///
- latexkeys const * sym_;
+ MathTextCodes code() const;
///
- string ssym_;
+ MathTextCodes code2() const;
+
+ ///
+ latexkeys const * sym_;
///
- MathTextCodes code_;
+ mutable int h_;
};
#endif