# Subequations in Lyx

## Subequation Numbering

If you want to group the equation numbers as, for example, (1a) and (1b), then you must do the following:

1. Add \usepackage{amsmath} to the document preamble.
2. Before the equation block, hit CTRL-L to add a LaTeX block, and type \begin{subequations}.
3. After the equation block, hit CTRL-L to add a LaTeX block, and type \end{subequations}.

The document should now look like this:

and result in:

A sample document can be found here: MultilineEquationNumbering.lyx