I have made a custom matrix environment for using Gauss Jordan elimination, I need a vertical bar between the two halves of my matrix.
Here is what I have slopped together
\newenvironment{gjmatrix}[1] {
\left[\begin{array} { @{}*{#1}{c}|@{}*{#1}{c}@{} }
} {
\end{array}\right]
}
This is almost perfect. But it doesn't give me enough spacing after the bar.
Could someone help me out? How do I adjust this so it has proper and uniform spacing with everything else.