# Math

Nota supports LaTeX:

- Wrapping an expression between two $ signs makes inline math that can be previewed in the preview (View → Toggle Preview
`⌘``⇧``r`). Example:`$f(x) = x * 2$`

. - Writing double $ signs on two separate lines and placing your expression on a new line between them will make a block-level math. Moving your cursor outside of the block will show a preview of the expression inside the editor.

We use KaTeX for rendering math. KaTeX doesn't support some extended LaTeX commands so we are currently considering moving to MathJax.