Math test

· 1 min read · 56 words

Verifies that inline and display LaTeX render correctly.

Inline math should render: E=mc2E = mc^2, E=ρ/ε0\nabla \cdot \mathbf{E} = \rho/\varepsilon_0.

Display math should render centered:

ex2dx=π\int_{-\infty}^{\infty} e^{-x^2}\, dx = \sqrt{\pi}

A matrix:

A=[abcd],det(A)=adbcA = \begin{bmatrix} a & b \\ c & d \end{bmatrix}, \quad \det(A) = ad - bc

A sum with a fraction:

n=11n2=π26\sum_{n=1}^{\infty} \frac{1}{n^2} = \frac{\pi^2}{6}

← All notes