Can the following be achieved using just amsmath and mathtools? (If not, what other tools do I need?)
I have a collection of equations
\begin{align}
A &= B \\
C &= D \\
E &= F
\end{align}
I want the following display:
- The three equations are all aligned at the
=sign (like above) - The equation numbers for the first two are "subequations", that is the first equation is numbered (1a), the second (1b), but the third (2). (The numbering should be dynamical, I don't want to hard-code an equation number that I'd have to change every time.)
Since I am already putting the equation number on the left, I want to group the first two equations and mark them with a brace. Something similar to what can be done with
\begin{equation*} \left.\begin{aligned} A &= B\\ C &= D \end{aligned}\right\}\text{Some description} \end{equation*}
I know how to do each of 1, 2, and 3 separately. I am at a loss on how to put any two of them together. I would love to know how to achieve all three at the same time.
Edit: To do 1 and 2 together, I can use one of these answers.
Edit 2: A partial solution toward doing 1 and 3 together is to use the empheq package as described here. However best as I can tell the brace is an "all or nothing" thing. I can't just brace the first two out of three expressions.


\intin front ofA+Bin the first line of thealign, the vertical size and alignment of the array breaks.:-(– Willie Wong Apr 10 '12 at 09:02arrayfor the right brace\}is empty. You could try inserting the same content that is visible inside thealignenvironment, but hide it with\vphantom. – Werner Apr 10 '12 at 14:05