Add mathematical equations

You can include mathematical expressions and equations in your document. To add an equation, you compose it in the Pages equation dialog using LaTeX commands or MathML elements, then insert it into your document.

You can add equations inline with body text or as non-inline objects. An inline object is embedded in the text flow and moves with the text. A non-inline object is fixed to a particular position on a page. You can drag non-inline objects anywhere on a page, wrap text around them, or layer text or other objects over or behind them.

Note: If you’ve installed MathType 6.7d (or later), an application for composing math expressions, you can use it to create equations by clicking symbols and typing in the MathType window.

Add an equation with LaTeX or MathML

  1. Do one of the following:

    • Add an inline equation: Place the insertion point in the text, or select the text you want the equation to replace. Only word-processing documents can use inline equations.

    • Add a non-inline equation: Click outside of the document to make sure nothing is selected.

  2. Click the Insert button in the toolbar, then choose Equation.

    You can also choose Insert > Equation (from the Insert menu at the top of your screen).

  3. If you have MathType installed, a dialog appears asking whether to use Pages to create the equation; click Use Pages.

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

    The Edit Equation dialog, showing the quadratic formula written using LaTeX in the Edit Equation field, and a preview of the formula below.

    For information on using supported LaTeX commands or MathML elements and attributes, see the Apple Support article About LaTeX and MathML support.

  5. Click Insert.

    An inline equation appears at the insertion point in your document and is the same size and color as the surrounding text. If you change the size and color of the surrounding text, the size and color of the equation also change.

    A non-inline equation appears at the center of the screen and has a default size and color that you can change in the Format The Format Button sidebar. Drag the equation to reposition it on the page.

Add an equation with MathType

If you have MathType 6.7d (or later) installed, you can use it to add equations to your document.

Tip: To set MathType as the default equation editor, choose Pages > Preferences (from the Pages menu at the top of your screen), click General, then select the checkbox next to “Insert and edit equations with MathType.”

  1. Do one of the following:

    • Add an inline equation: Place the insertion point in the text, or select the text you want the equation to replace. Only word-processing documents can use inline equations.

    • Add a non-inline equation: Click outside of the document to make sure nothing is selected.

  2. Click the Insert button in the toolbar, then choose Equation.

    If you set MathType as your default equation editor, MathType opens automatically (after the first time you enter an equation). Otherwise, click Use MathType in the dialog that appears.

  3. To enter the equation, click symbols and type in the MathType window.

    For instructions on using the MathType tools, see MathType Help.

  4. To save your equation, choose File > Close and Return to Pages (from the File menu at the top of your screen), then click Yes in the dialog that appears.

    An inline equation appears at the insertion point and is the same size and color as the surrounding text. To edit the equation, double-click the equation to open the MathType window.

    A non-inline equation appears at the center of the screen and can be dragged to a new position on the page. To change the look of the equation or to edit it, double-click the equation to open it in MathType, then double-click the controls at the bottom of the window.

  5. Drag the equation to reposition it on the page.

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

After you add an inline equation, you can modify it.

Edit, delete, or move a non-inline equation with LaTeX or MathML

After you add a non-inline equation, you can modify it.