#include "math_undersetinset.h"
#include "math_data.h"
#include "math_mathmlstream.h"
+
#include "cursor.h"
+#include "LaTeXFeatures.h"
using std::max;
using std::auto_ptr;
-auto_ptr<InsetBase> MathUndersetInset::clone() const
+auto_ptr<InsetBase> MathUndersetInset::doClone() const
{
return auto_ptr<InsetBase>(new MathUndersetInset(*this));
}
{
os << "[underset " << cell(0) << ' ' << cell(1) << ']';
}
+
+
+void MathUndersetInset::validate(LaTeXFeatures & features) const
+{
+ features.require("amsmath");
+ MathNestInset::validate(features);
+}