I have made the following matrix:
\newcommand{\mtx}[2]{\begin{#1matrix}#2\end{#1matrix}}
\newcommand{\mtxR}[2]{\begin{#1matrix*}[r]#2\end{#1matrix*}}
\begin{equation*}
A=\mtx{}{\mtx{}{e_1&e_2&e_3&e_4&e_5&e_6&e_7&e_8}&\\\mtxR{b}{1&&1&&&&&\\-1&1&&1&&&&\\&-1&&&1&1&&\\&&&&-1&-1&&1\\&&&-1&&&1&-1\\&&-1&&&&-1&}&\mtx{}{v_1\\v_2\\v_3\\v_4\\v_5\\v_6}}
\end{equation*}
Is there a way to align the e's in the top row with the numbers in the bmatrix, and the same for the v's in the most right column?
blkarray
may be a solution to this: tex.stackexchange.com/a/59519/15036