I want to write a numbered system of equations. Right now, this is what I do and I am satisfied with the output, but I have a feeling it's not the best way to do it.
\begin{equation}
\begin{array}{ccl}
a + b + c & = & d \\
e + f & = & g \\
h & = & i
\end{array}
\end{equation}
How should I handle system of equations with a single number associated to it?
UPDATE :
I have read the asmmath package documentation and I feel more comfortable with what it offers. However, are there still some situations in which using the array environment is still relevant. For example, I would not know how to produce this result otherwise :
\begin{equation}
\left\{
\begin{array}{lcl}
x_1 + x_2 + x_3 & = & 1 \\
x_1 + x_2 & = & 2 \\
x_1 & = & 3
\end{array}
\right.
\end{equation}
In the case the spacing seems correct, and it would not bee desirable to have the first column aligned to the = sign.

splitenvironment ofamsmathin the equation environment, oraligned. Have a look at the examples here and compare: Difference between (split, align) and (gather, aligned). I'm sure this question has been asked before - perhaps somebody finds the duplicate, a better matching one than I linked? – Stefan Kottwitz Dec 21 '12 at 08:40\begin{array}{l@{}c@{}l}and input lines likex_1+x_2 & {}={} & 2. You'll see the difference. – egreg Dec 21 '12 at 19:07arraycan be achieved if you you use\begin{array}{r@{}l}, and then use{}=as ina + b + c &{}= d. – Peter Grill Dec 21 '12 at 19:08