2 #ifndef MATH_ENVINSET_H
3 #define MATH_ENVINSET_H
5 #include "math_nestinset.h"
6 #include "math_metricsinfo.h"
12 /** Environtments á la \begin{something}...\end{something}
16 class MathEnvInset : public MathNestInset {
19 MathEnvInset(string const & name_);
21 MathInset * clone() const;
23 void draw(MathPainterInfo &, int x, int y) const;
25 void write(WriteStream & os) const;
26 /// write normalized content
27 void normalize(NormalStream & ns) const;
29 void metrics(MathMetricsInfo & mi) const;
31 void infoize(std::ostream & os) const;
34 /// name of that environment