Advertisement

The matrix environments provided by AMS-LaTeX can be used for tabular data in math mode. The environments are called matrix, bmatrix, Bmatrix, pmatrix, vmatrix, Vmatrix, and smallmatrix – each with a different appearance.

Examples

Markup
\begin{matrix}
  0 & 1 \\
  1 & 0
\end{matrix}
Renders as

Gallery


bmatrix


Bmatrix


pmatrix


vmatrix


Vmatrix


smallmatrix

See also

Community content is available under CC-BY-SA unless otherwise noted.