Equation equation = mathCollection.getCursor().getEquation();
box = equation.toBox(colourScheme);
labelBox = equation.getLabelBox(colourScheme);
labelBox.setProperty(Box.RIGHT_ALIGN);
box.setupInnerRectangle(fontSize);
Offset equationRectangle = calcEquationRectangle(panelRectangle);
labelBox.setup(fontSize, equationRectangle);
Offset windowWithoutLabel = calcWindowWithoutLabel(equationRectangle);
box.setupOuterRectangle(windowWithoutLabel);
double boxHeight = getBoxHeight(box, panelRectangle);
topLeft = new Position(KetPanel.LEFT_BORDER_SIZE, boxHeight);
box.boxesByDepth(null, bands, topLeft, colourScheme);
return true;