#include "math_oversetinset.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> MathOversetInset::clone() const
+auto_ptr<InsetBase> MathOversetInset::doClone() const
{
return auto_ptr<InsetBase>(new MathOversetInset(*this));
}
{
os << "[overset " << cell(0) << ' ' << cell(1) << ']';
}
+
+
+void MathOversetInset::validate(LaTeXFeatures & features) const
+{
+ features.require("amsmath");
+ MathNestInset::validate(features);
+}