I am trying to create a list like below,
but I can't seem to to align the three columns of equations and when I do I get something like
Here is my code:
$\begin{array}{ccc}
x_8 = 93 \quad y_8 = 64 \quad z_8 = 61\\
x_7 = 186 \quad y_7 = 32 \quad z_7 = 61\\
x_6 = 231 \quad y_6 = 32 \quad z_6 = 29
\end{array}$
Added image:
How would I align the two tables like that?
Best Answer
Here are 3 solutions. The second solution uses the
matrix*
environment frommathtools
. It allows for an optional argumentl,c
orl
. The default isc
. The last solution relies onalignat
, and gives an easy control on the spacing of the columns: