2 #ifndef MATH_STRINGINSET_H
3 #define MATH_STRINGINSET_H
5 #include "math_inset.h"
11 /** Some cllection of chars with similar properties
15 class MathStringInset : public MathInset {
18 MathStringInset(string const & s, MathTextCodes t);
20 MathInset * clone() const;
22 void metrics(MathMetricsInfo const & st) const;
24 void draw(Painter &, int x, int y) const;
26 void write(MathWriteInfo & os) const;
28 void writeNormal(std::ostream &) const;
41 /// the font to be used on screen
44 mutable MathMetricsInfo mi_;