#include <config.h>
+#include "LaTeXFeatures.h"
#include "math_substackinset.h"
#include "math_data.h"
#include "math_mathmlstream.h"
{}
-auto_ptr<InsetBase> MathSubstackInset::clone() const
+auto_ptr<InsetBase> MathSubstackInset::doClone() const
{
return auto_ptr<InsetBase>(new MathSubstackInset(*this));
}
} else {
MathGridInset::metrics(mi, dim);
}
- metricsMarkers(dim);
dim_ = dim;
}
void MathSubstackInset::draw(PainterInfo & pi, int x, int y) const
{
MathGridInset::draw(pi, x + 1, y);
- drawMarkers(pi, x, y);
}
MathGridInset::maple(os);
os << ')';
}
+
+
+void MathSubstackInset::validate(LaTeXFeatures & features) const
+{
+ features.require("amsmath");
+ MathGridInset::validate(features);
+}