2 #ifndef MATH_SYMBOLINSET_H
3 #define MATH_SYMBOLINSET_H
5 #include "math_diminset.h"
10 // "normal" symbols that don't take limits and don't grow in displayed
13 class MathSymbolInset : public MathDimInset {
16 explicit MathSymbolInset(latexkeys const *);
18 MathInset * clone() const;
20 void write(std::ostream &, bool fragile) const;
22 void writeNormal(std::ostream &) const;
24 void metrics(MathStyles st) const;
26 void draw(Painter &, int x, int y) const;
32 latexkeys const * sym_;
33 /// cache for the symbol's onscreen string representation