2 #ifndef MATH_COMMENTINSET_H
3 #define MATH_COMMENTINSET_H
5 #include "math_nestinset.h"
11 /** Inset for end-of-line comments
12 * \author André Pönitz
14 * Full author contact details are available in file CREDITS
19 class MathCommentInset : public MathNestInset {
24 explicit MathCommentInset(string const &);
26 MathInset * clone() const;
28 void metrics(MathMetricsInfo & mi) const;
30 void draw(MathPainterInfo & pi, int x, int y) const;
32 void metricsT(TextMetricsInfo const & mi) const;
34 void drawT(TextPainter & pi, int x, int y) const;
37 void write(WriteStream & os) const;
39 void maplize(MapleStream &) const;
41 void mathematicize(MathematicaStream &) const;
43 void octavize(OctaveStream &) const;
45 void mathmlize(MathMLStream &) const;
47 void infoize(std::ostream & os) const;