Skip to content

Formatting LaTeX Equations Tests

MkDocs Material supports math equations using MathJax when the appropriate extensions are enabled.

Inline math equations:

1
The formula for the area of a circle is $A = \pi r^2$.

Block equations:

1
2
3
$$
\frac{n!}{k!(n-k)!} = \binom{n}{k}
$$

For more complex equations with multi-line alignment:

1
2
3
4
5
6
$$
\begin{align}
x &= y + z \\
  &= a + b
\end{align}
$$