#include <config.h>
+#include "LaTeXFeatures.h"
#include "math_amsarrayinset.h"
#include "math_data.h"
#include "math_mathmlstream.h"
{}
-auto_ptr<InsetBase> MathAMSArrayInset::clone() const
+auto_ptr<InsetBase> MathAMSArrayInset::doClone() const
{
return auto_ptr<InsetBase>(new MathAMSArrayInset(*this));
}
int const yy = y - dim_.ascent();
mathed_draw_deco(pi, x + 1, yy, 5, dim_.height(), name_left());
mathed_draw_deco(pi, x + dim_.width() - 6, yy, 5, dim_.height(), name_right());
+ setPosCache(pi, x, y);
}
MathGridInset::normalize(os);
os << ']';
}
+
+
+void MathAMSArrayInset::validate(LaTeXFeatures & features) const
+{
+ features.require("amsmath");
+ MathGridInset::validate(features);
+}