Constructing Arrays

To construct an array, surround the entries with a \begin{array}{justification} command and an \end{array} command. The justification should consist of l for left justification, c for centered justification, or r for right justification. Separate column entries by an &, and end each line with a $\backslash\backslash$. If your array is a matrix, you can surround it with large parentheses \left( and \right). For example:

$$
\left(
\begin{array}{rcl}
\alpha&\beta&\gamma\\
\delta&\epsilon&\zeta\\
\eta&\theta&\iota\\
\end{array}
\right)
$$

produces


\begin{displaymath}
\left(
\begin{array}{rcl}
\alpha&\beta&\gamma\\
\delta&\epsilon&\zeta\\
\eta&\theta&\iota\\
\end{array}\right)
\end{displaymath}

Practice: Create your own document with an array with a mix of left, center, and right-justified columns.


2002-02-28