2 #ifndef MATH_SYMBOLINSET_H
3 #define MATH_SYMBOLINSET_H
5 #include "math_diminset.h"
9 // "normal" symbols that don't take limits and don't grow in displayed
12 class MathSymbolInset : public MathDimInset {
15 explicit MathSymbolInset(latexkeys const *);
17 MathInset * clone() const;
19 void write(std::ostream &, bool fragile) const;
21 void writeNormal(std::ostream &) const;
23 void metrics(MathStyles st) const;
25 void draw(Painter &, int x, int y) const;
29 bool isScriptable() const;
30 /// identifies things that can get \limits or \nolimits
31 bool takesLimits() const;
35 MathTextCodes code() const;
37 MathTextCodes code2() const;
40 latexkeys const * sym_;