Pages

Add mathematical equations in Pages on iPad
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.
When you add an equation in a word-processing document, you can choose to place it inline with the text, so that it sits on the same line and moves with the text as you type, or place it as a floating object on the page so you can position it anywhere. In a page layout document, new equations are always added as floating objects on the page.
In either word-processing or page layout documents, you can add equations inline with the text inside text boxes or shapes.