2 #ifndef MATH_COMMENTINSET_H
3 #define MATH_COMMENTINSET_H
5 #include "math_nestinset.h"
8 /** Inset for end-of-line comments
11 * Full author contact details are available in file CREDITS
16 class MathCommentInset : public MathNestInset {
21 explicit MathCommentInset(string const &);
23 MathInset * clone() const;
25 void metrics(MetricsInfo & mi) const;
27 void draw(PainterInfo & pi, int x, int y) const;
29 void metricsT(TextMetricsInfo const & mi) const;
31 void drawT(TextPainter & pi, int x, int y) const;
34 void write(WriteStream & os) const;
36 void maple(MapleStream &) const;
38 void mathematica(MathematicaStream &) const;
40 void octave(OctaveStream &) const;
42 void mathmlize(MathMLStream &) const;
44 void infoize(std::ostream & os) const;