xp[1] = x + w + 4; yp[1] = y - a + 1;
xp[2] = x + w; yp[2] = y + d;
xp[3] = x + w - 2; yp[3] = y + (d - a)/2 + 2;
- xp[4] = x; yp[4] = y + (d - a)/2 + 2;
+ //xp[4] = x; yp[4] = y + (d - a)/2 + 2;
+ xp[4] = x + w - 5; yp[4] = y + (d - a)/2 + 4;
pi.pain.lines(xp, yp, 5, LColor::math);
drawMarkers(pi, x, y);
}
}
+void MathRootInset::maplize(MapleStream & os) const
+{
+ os << '(' << cell(1) << ")^(1/(" << cell(0) <<"))";
+}
+
+
void MathRootInset::octavize(OctaveStream & os) const
{
- os << "root(" << cell(1) << ',' << cell(0) <<')';
+ os << "root(" << cell(1) << ',' << cell(0) << ')';
}