Home > Latex > FAQ > Latex - FAQ > How to write matrices in Latex ? matrix, pmatrix, bmatrix, vmatrix, (...)

How to write matrices in Latex ? matrix, pmatrix, bmatrix, vmatrix, Vmatrix

Friday 31 December 2010, by Nadir SOUALEM

Keywords: .

All the versions of this article: [English] [français]

Here are few exemples to write quickly matrices.
You must use the following package:

\usepackage{amsmath}

Exemple:

$$
\begin{matrix}
a & b \\
c & d
\end{matrix}
\quad
\begin{pmatrix}
a & b \\
c & d
\end{pmatrix}
\quad
\begin{bmatrix}
a & b \\
c & d
\end{bmatrix}
\quad
\begin{vmatrix}
a & b \\
c & d
\end{vmatrix}
\quad
\begin{Vmatrix}
a & b \\
c & d
\end{Vmatrix}
$$

Any message or comments?

pre-moderation

This forum is moderated before publication: your contribution will only appear after being validated by an administrator.

Who are you?
Your post
  • To create paragraphs, just leave blank lines.

If you want to help Math-Linux.com project , Send your contributions to our team. Thanks !!!

Links