Docs/Notes/Math

Math

Minerva turns mathematical notation into beautifully typeset equations — right inside your notes. Write an equation once and it shows up crisply, whether it sits mid-sentence or stands on its own line. It all works offline.

Writing an equation

Wrap your notation in dollar signs. Use a single pair for math that flows inside a sentence, and a double pair for an equation that stands on its own, centered line.

$…$
Inline. Appears right in the middle of your sentence. Example: the update rule is $\theta_{t+1} = \theta_t - \eta \nabla L(\theta_t)$.
$$…$$
Display. Stands alone as a centered equation. Example: $$\int_0^\infty e^{-x^2}\,dx = \frac{\sqrt{\pi}}{2}$$

A display equation can fit on one line, or spread across several — the closing $$ just needs a line of its own:

$$
P(A \mid B) = \frac{P(B \mid A)\,P(A)}{P(B)}
$$
A sentence with an inline equation set naturally in the running text, followed by a centered display equation standing on its own below the paragraph.
A note with typeset math

How it looks

Inline math sits at normal text size, right in the flow of your sentence. A display equation is centered on its own line, and if it's wider than the page it can scroll sideways so nothing gets cut off.

A typo won't break your note

If an equation can't be read, Minerva simply shows what you typed in place — the rest of your note keeps rendering normally. Hover over it and you'll see a short note explaining what went wrong, so you can fix it without leaving the page.