Is it possible to renew the bmatrix
environment to have alignment?
I would like the following vectors to show aligned:
\begin{bmatrix}
-0.505 & \\
-0.141 & \\
0.144 & \\
0.839 & \\
\end{bmatrix}
alignmatrices
Is it possible to renew the bmatrix
environment to have alignment?
I would like the following vectors to show aligned:
\begin{bmatrix}
-0.505 & \\
-0.141 & \\
0.144 & \\
0.839 & \\
\end{bmatrix}
Best Answer
Example with matrix environment. Work also for bmatrix
Taken from here. Article by Stefan Kottwitz.
This code produces unaligned numbers:
However, the environment can be renewed to support alignment:
Now it is possible to do:
which outputs: