I know that I already found this, but I am not sure where, so I ask it here.
How can I individually specify the number and alignment of a bracket matrix using bmatrix?
\documentclass{article}
\usepackage{mathtools}
\begin{document}
\begin{displaymath}
A = \left[%
\begin{array}[@{}lcr@{}]
a & b & c \\
d & e & f \\
\end{array}
\right]
\end{displaymath}
% Achieve the same as above
\begin{displaymath}
\begin{bmatrix}[lcr]
a & b & c \\
d & e & f \\
\end{bmatrix}
\end{displaymath}
\end{document}
amsmath. – cacamailg Oct 03 '14 at 14:41bmatrix*environment ofmathtoolsallows for specifying only a global alignment for all columns. – egreg Oct 03 '14 at 14:46bmatrix, then it's far easier to define your own environment which emulatesarray. – Werner Oct 03 '14 at 14:55