Skip to main content
Autype supports LaTeX math expressions as display equations using the $$ block syntax.
Inline math ($E=mc^2$) is not currently supported. Use block math for all equations.

Block math

Multi-line syntax

Use double dollar signs on separate lines:
$$
E = mc^2
$$
$$
\int_{0}^{\infty} e^{-x^2} dx = \frac{\sqrt{\pi}}{2}
$$

Single-line syntax

For short equations, put everything on one line:
$$E = mc^2$$

Alignment

Control horizontal alignment with :left, :center, or :right after $$:
$$:left
\sum_{n=1}^{\infty} \frac{1}{n^2} = \frac{\pi^2}{6}
$$

$$:center
f(x) = \frac{1}{\sigma\sqrt{2\pi}} e^{-\frac{(x-\mu)^2}{2\sigma^2}}
$$

$$:right
\nabla \times \mathbf{E} = -\frac{\partial \mathbf{B}}{\partial t}
$$
Single-line alignment:
$$:center E = mc^2$$

Extended attributes

Use {attrs} after $$ for additional control:
$${align=center renderAsImage=true spacing=10,20}
\int_{0}^{\infty} e^{-x^2} dx = \frac{\sqrt{\pi}}{2}
$$

Attribute reference

AttributeValuesDescription
alignleft, center, rightHorizontal alignment
renderAsImagetrue, falseRender as PNG image for pixel-perfect output
spacingbefore,after (e.g., 10,20)Spacing before/after in points
The renderAsImage option is recommended for complex equations in PDF/DOCX exports. It ensures the math renders exactly as displayed, regardless of the viewer’s font support.

Common LaTeX examples

Fractions and roots

$$
x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}
$$

Summations and integrals

$$
\sum_{i=1}^{n} i = \frac{n(n+1)}{2}
$$

$$
\int_a^b f(x)\,dx = F(b) - F(a)
$$

Matrices

$$
\begin{pmatrix}
a & b \\
c & d
\end{pmatrix}
$$

Greek letters

$\alpha, \beta, \gamma, \delta, \epsilon, \theta, \lambda, \mu, \pi, \sigma, \omega$