Equations
Equations
Equations are edited as real math, not as text you hope compiles. Two shortcuts cover most of it; everything else is a click away.
- Shortcut
- Ctrl+M Inline equation, flowing with the text.
- Shortcut
- Ctrl+Shift+M Display equation, on its own line.
- Menu
- Insert › Math Inline equation, Display equation, and every environment below, in one flat list.
Numbering and references
Hover an equation for a Settings icon beside it, and switch on Numbered. Type @ anywhere in the document to reference it by number; renumbering after you add or remove equations is automatic.


The math toolbar
Click into any equation and a toolbar appears above it: symbols grouped by kind (Greek, calculus, relations, sets, matrices), inserted at the cursor. A Select equation block button selects the whole equation as one unit.

Environments
You can insert math environments via Insert › Math.

Labels and numbered equations
Switch on Numbered in an equation's settings to add a label. Which kind of label you get depends on the environment.
Single equations
A plain equation gets one label. Find it under the settings' Advanced options as \label, the same one a \ref points to, and edit it there.
Align, Gather, Alignat, and Eqnarray
These get a label per line instead. Open the settings and fill in the Line Labels field for each line, or click Auto to generate one. Lines are split on \\ in your LaTeX.
Multline
Multline keeps a single label, not one per line, since it still renders as one block.
