#include <config.h>
-#ifdef __GNUG__
-#pragma implementation
-#endif
#include "math_xymatrixinset.h"
#include "math_mathmlstream.h"
}
-void MathXYMatrixInset::metrics(MathMetricsInfo const & st) const
+void MathXYMatrixInset::metrics(MathMetricsInfo & st) const
{
MathMetricsInfo mi = st;
- if (mi.style == LM_ST_DISPLAY)
- mi.style = LM_ST_TEXT;
+ if (mi.base.style == LM_ST_DISPLAY)
+ mi.base.style = LM_ST_TEXT;
MathGridInset::metrics(mi);
}
{
os << "[xymatrix ";
MathGridInset::normalize(os);
- os << "]";
+ os << ']';
}
-void MathXYMatrixInset::maplize(MapleStream & os) const
+void MathXYMatrixInset::maple(MapleStream & os) const
{
os << "xymatrix(";
- MathGridInset::maplize(os);
- os << ")";
+ MathGridInset::maple(os);
+ os << ')';
}