LaTeX Vertical line in matrix

1. Feb 23, 2017

BvU

Anyone know how to get a vertical line between two columns ? Like here in AMSTeX

2. Feb 23, 2017

BvU

Never mind, found an alternative:
Code (LaTeX):

\left[
\begin{array}{cccc|c}
1 & 0 & 3 & -1 & 0 \\
0 & 1 & 1 & -1 & 0 \\
0 & 0 & 0 & 0 & 0 \\
\end{array
}
\right
]

$$\left[ \begin{array}{cccc|c} 1 & 0 & 3 & -1 & 0 \\ 0 & 1 & 1 & -1 & 0 \\ 0 & 0 & 0 & 0 & 0 \\ \end{array} \right]$$

Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?
Draft saved Draft deleted