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}
13 * \author André Pönitz
15 * Full author contact details are available in file CREDITS
18 class MathEnvInset : public MathNestInset {
21 MathEnvInset(string const & name_);
23 MathInset * clone() const;
25 void draw(MathPainterInfo &, int x, int y) const;
27 void write(WriteStream & os) const;
28 /// write normalized content
29 void normalize(NormalStream & ns) const;
31 void metrics(MathMetricsInfo & mi) const;
33 void infoize(std::ostream & os) const;
36 /// name of that environment