6

I am new to latex, so please pardon me if this question seems trivial. I am writing a document and write equations in \begin{equation} ... \end{equation} since I would like the equations to be numbered (and labeled for cross-referencing).

In one part of the document, I need to create four equations (and have them numbered as 3a, 3b, 3c and 3d) as though they are in a list. I am not sure if there is a straightforward way to do this. Any help is appreciated.

Thanks.

1

1 Answer 1

9

To have a set of equations have the same "main" number with an additional index (the a, b, c), you can use the subequation environment : surround the equations you want within the environment.

\begin{equation}
x+y=z
\end{equation}

\begin{subequations}
\begin{gather}
 a = b+c\\
1 + 1 \neq 3\\
\theta + \phi = \text{greek to me}
\end{gather}
\end{subequations}

The result is

equations

1
  • 2
    I was answering just the same; just a minor remark: the subequations environment requires the amsmath package. Apr 13, 2011 at 23:11

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .