2 #ifndef MATH_STRINGINSET_H
3 #define MATH_STRINGINSET_H
5 #include "math_diminset.h"
8 /** Some collection of chars with similar properties
9 * maily for math-extern
10 * \author André Pönitz
12 * Full author contact details are available in file CREDITS
15 class MathStringInset : public MathDimInset {
18 explicit MathStringInset(string const & s);
20 MathInset * clone() const;
22 void metrics(MathMetricsInfo & mi) const;
24 void draw(MathPainterInfo & pi, int x, int y) const;
26 string str() const { return str_; }
28 MathStringInset * asStringInset() { return this; }
31 void normalize(NormalStream &) const;
33 void octave(OctaveStream &) const;
35 void maple(MapleStream &) const;
37 void mathematica(MathematicaStream &) const;
39 void mathmlize(MathMLStream &) const;
41 void write(WriteStream & os) const;