Subequations in Lyx

Original post is here:

http://rain.aa.washington.edu/RAIN_Private/Compute_Resources/Software/Lyx/Multi-Line_Equation_Numbering

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:

SubEquationsLyx.png

and result in:

SubEquations.png

A sample document can be found here: MultilineEquationNumbering.lyx

Additional Options

If you want to add a cross-reference to the entire block of equations, e.g. (1) rather than (1a) or (1b) in the example above, you need to add a label to the subequations block. Just move your mouse immediately after the \begin{subequations} LaTeX block, then add a label. You can then add a Cross-Reference to this label as normal.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s