2 #ifndef MATH_ENVINSET_H
3 #define MATH_ENVINSET_H
5 #include "math_nestinset.h"
6 #include "metricsinfo.h"
9 /** Environtments á la \begin{something}...\end{something}
10 * \author André Pönitz
12 * Full author contact details are available in file CREDITS
15 class MathEnvInset : public MathNestInset {
18 MathEnvInset(string const & name_);
20 virtual std::auto_ptr<InsetBase> clone() const;
22 void draw(PainterInfo &, int x, int y) const;
24 void write(WriteStream & os) const;
25 /// write normalized content
26 void normalize(NormalStream & ns) const;
28 void metrics(MetricsInfo & mi, Dimension & dim) const;
30 void infoize(std::ostream & os) const;
33 /// name of that environment