Equation
Render LaTeX math equations inline or as block-level display equations. Powered by KaTeX for fast, accurate typesetting. Click to edit — a floating popup shows a live preview as you type, with syntax error feedback.
Adding an equation
/ → Equation
Type
/equation or /math on any empty block. The editor opens immediately.Σ in block palette
Click + on any block → Academic → Equation.
Editing
Click any rendered equation to open the editing popup below it. The popup shows a LaTeX input area and a live preview that updates as you type. If there's a syntax error, the error message appears in place of the preview.
⌘Enter / Ctrl+Enter
Save the equation and close the popup.
Escape
Save and close.
Click outside
Saves and closes the popup.
Done button
Saves and closes.
You can paste LaTeX wrapped in
$...$ or $$...$$ delimiters — they're stripped automatically before saving. The stored value is always the raw LaTeX without delimiters.Display modes
Block
The equation is centered on its own line with extra vertical spacing. Use for standalone formulas and numbered equations. This is the default.
Inline
The equation flows with surrounding text at text height. Switch using the Block / Inline toggle in the editing popup.
Dark mode
KaTeX renders with color: rgba(255,255,255,0.82) when the document background is dark. The equation adapts automatically — no manual color adjustments needed.
Example expressions
Common LaTeX expressions
Quadratic formula
\frac{-b \pm \sqrt{b^2-4ac}}{2a}Euler's identity
e^{i\pi} + 1 = 0Summation
\sum_{n=1}^{\infty} \frac{1}{n^2} = \frac{\pi^2}{6}Matrix
\begin{pmatrix} a & b \\ c & d \end{pmatrix}