# Add mathematical equations in Numbers on Mac

You can add mathematical expressions and equations as floating objects on a spreadsheet. To add an equation, you compose it in the Numbers equation dialog using LaTeX commands or MathML elements, then insert it into your spreadsheet.

You can also add equations inline with the text inside text boxes and shapes.

## Add an equation with LaTeX or MathML

Do one of the following:

*Place the equation inline with text:*Place the insertion point in a text box or shape, or select the text you want the equation to replace.*Place the equation so it can be moved freely:*Click outside the sheet to make sure nothing is selected.

Choose Insert > Equation (from the Insert menu at the top of your screen).

Enter an equation in the field using LaTeX commands or MathML elements.

Click Insert.

If you added a floating equation, drag the equation to reposition it on the sheet.

## Edit, delete, or move an equation with LaTeX or MathML

After you add an equation, you can modify it.

*Edit an equation:*Double-click the equation, make your changes, then click Update.*Move an equation:*Click the equation, then drag it from the center to a new location on the sheet or in the text.*Change the size or color of an equation:*Click the equation, then use the controls in the sidebar on the right to change the font size, color, or alignment of the equation. If you don’t see the sidebar, click in the toolbar. You can also click a white handle around the equation and drag in or out to change its size.*Copy an equation:*Click the equation, choose Edit > Copy (from the Edit menu at the top of your screen), then choose Edit > Paste. Drag the copied equation to a new location on the sheet.*Delete an equation:*Click the equation, then press the Delete key on your keyboard.*Move a floating equation inline with text:*Cut and paste the equation on the sheet into a text box or shape. See Place objects inside a text box or shape.