Put an equation in a sentence

In a note’s body, surround mathematical notation with single dollar signs:

The distance is $d = v t$.

The text between the dollar signs becomes formatted math in preview. Move into the expression to edit its source. Keep the opening and closing marks together with the intended expression.

Give an equation its own block

Use two dollar signs on separate lines around a larger expression:

$
E = mc^2
$

Subscripts use _, superscripts use ^, and braces group more than one character: x_{12} or e^{i\pi}. A fraction uses \frac{numerator}{denominator}.

If an expression does not render, check the closing dollar signs, paired braces, and command spelling. Start with a small valid expression and add to it.

Leave a comment for later editing

Wrap an editorial comment in double percent signs:

The keeper reaches the harbour. %% Check the tide for this date. %%

The comment belongs to the note’s source. Live preview hides the comment when it is not being edited; editing the source lets you change or remove it.

Math versus a formula property

An equation in a note is notation for a reader. A Formula property calculates a value from a library note’s fields. To turn Words and Target into a progress percentage, use Write your first formula.