2 #ifndef MATH_COMMENTINSET_H
3 #define MATH_COMMENTINSET_H
5 #include "math_nestinset.h"
11 /** Inset for end-of-line comments
17 class MathCommentInset : public MathNestInset {
22 explicit MathCommentInset(string const &);
24 MathInset * clone() const;
26 void metrics(MathMetricsInfo & mi) const;
28 void draw(MathPainterInfo & pi, int x, int y) const;
30 void metricsT(TextMetricsInfo const & mi) const;
32 void drawT(TextPainter & pi, int x, int y) const;
35 void write(WriteStream & os) const;
37 void maplize(MapleStream &) const;
39 void mathematicize(MathematicaStream &) const;
41 void octavize(OctaveStream &) const;
43 void mathmlize(MathMLStream &) const;
45 void infoize(std::ostream & os) const;