Writing maths
MaciPhone and iPad
Write TeX between $$ marks and Coffee draws the formula natively, right in the note. Inline $…$ inside a sentence is drawn in place.

How to write a formula
- For a formula on its own, put the TeX between two lines of
$$, or write$$ … $$on one line. - For a formula inside a sentence, put the TeX between single
$marks. - Move the caret away. On the page, a
$$block shows only its formula until the caret goes back into it.
Example
In Markdown
The area of the garden is $\pi r^2$.
$$
x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}
$$What it covers
Everyday TeX: Greek letters, operators, scripts, fractions, roots, sums and integrals with limits, \left and \right, accents, \text, \mathbb, matrices, cases and aligned lines. Maths is set the way TeX sets it, and works inside tables too.
Good to know
- Anything it can't read stays as TeX, and a formula that can't be drawn shows a plain hint with the line number.
- Formulas carry into PDF, print, HTML, Word and EPUB.
- For chemistry and numbered equations, see Chemistry and numbered equations.