Skip to content

Equation Formatter

Write an equation in a visual editor or in LaTeX, see whether it typesets, and copy the source into your manuscript.

Visual editor

H = \sum_{i=1}^{N} \frac{p_i^2}{2m} + V(q_1, \ldots, q_N)

Type LaTeX commands such as \alpha or \frac straight into the box, or press the keyboard icon for an on-screen maths keyboard.

Insert a matrix

LaTeX source

Preview

How-to guide

How to write and check an equation

Build the equation in whichever form suits you, see it typeset as you go, and take the LaTeX to your manuscript.

1

Write the equation

Type in the Visual editor, where \alpha, \frac, ^ and _ work as in LaTeX, or type and paste in LaTeX source. The two stay in step with each other.

2

Check the preview

The Preview typesets the source as you type. If it cannot, it names the first problem, such as a missing brace or an unknown command.

3

Add a matrix

Choose the rows, columns and brackets under Insert a matrix and press Add the matrix to the equation. It goes on the end, after an equals sign (or on its own if the equation is empty), with placeholder entries x_{11}, x_{12}, … to replace.

4

Copy the LaTeX

Copy LaTeX copies the source without the invisible placeholder characters the visual editor adds. Paste it inside an equation or align environment.

The preview uses KaTeX, which covers most of amsmath. It does not know the macros in your own preamble, so a \newcommand of yours shows as an error here and still compiles in your document.