[texhax] equation type setting
Philip G. Ratcliffe
philip.ratcliffe at fastwebnet.it
Mon May 7 13:06:28 CEST 2007
> I have 3 equations which I want one per line each with a
> \label on top of that I want all the rows to be enclosed to
> the right with a } and the entire group to have its own
> \label. In other words I want to be able to \ref each eqn
> individually and also \ref the entire group...
>
> something like:
>
>
> 2+2=3 (1a) \
> 1+3=4 (1b) } (1)
> 5+3=7 (1c) /
I cooked this up in two minutes - it's more than a little ugly and can
surely be improved - sorry, no time to explain it.
\documentclass{article}
\usepackage{amsmath}
\begin{document}
\begin{equation}
\addtocounter{equation}{-1}
\left.
\parbox{0.75\textwidth}{%
\vspace{-\baselineskip}
\begin{subequations}
\begin{align}
2+2&=3 \\
1+3&=4 \\
5+3&=7
\end{align}
\end{subequations}
\vspace{-1.5\baselineskip}
}
\quad
\right\}
\end{equation}
\end{document}
Cheers, Phil
More information about the texhax
mailing list