#include "InsetMathStackrel.h"
-#include "Cursor.h"
-#include "LaTeXFeatures.h"
#include "MathData.h"
#include "MathStream.h"
+#include "Cursor.h"
+#include "LaTeXFeatures.h"
+#include "MetricsInfo.h"
+
using namespace std;
namespace lyx {
}
+MathClass InsetMathStackrel::mathClass() const
+{
+ // FIXME: update this when/if \stackbin is supported
+ return MC_REL;
+}
+
+
void InsetMathStackrel::metrics(MetricsInfo & mi, Dimension & dim) const
{
Dimension dim1;
dim.asc = dim1.ascent() + dim0.height() + 4;
dim.des = dim1.descent();
}
- metricsMarkers(dim);
+ metricsMarkers(mi, dim);
}