I want to get a space to the phrase "1\times 8 \mathrm{ matrix}", how can I get it inside the math environment?

\begin{align*}
C_{D_{1\succ 2}, \mathrm{increasing}} &= \underbrace{\begin{pmatrix}
1 & -1 & 1 & -1 & 1 & -1 & 1 & -1 \\ \end{pmatrix}}_{1\times 8\mathrm{ matrix}} \\
A_{D_{1\succ 2}, \mathrm{increasing}} &= \underbrace{\begin{pmatrix}
1 & 0 & 1 & 0 & 1 & 0 & 1 & 0 \\
0 & 1 & 0 & 1 & 0 & 1 & 0 & 1 \\
1 & 1 & 0 & 0 & 1 & 1 & 0 & 0 \\
0 & 0 & 1 & 1 & 0 & 0 & 1 & 1 \\
1 & 1 & 1 & 1 & 0 & 0 & 0 & 0 \\
1 & 1 & 1 & 1 & 0 & 0 & 0 & 0 \\
0 & 0 & 0 & 0 & 1 & 1 & 1 & 1 \\
\end{pmatrix}}_{7\times 8 \mathrm{ matrix}}.
\end{align*}
\textstylewhich at least uses the usual space between symbols. The phrasematrixis best typeset in text mode with\text{ matrix}. – Qrrbrbirlbel Aug 26 '13 at 05:45\textstyleuses, umm, the font defined by\textrm. In many settings\mathrmand\textrmwill be mostly the same. A big difference arises in the treatment of space characters: They're ignored in math environments (since TeX has its own specialized rules for typesetting math material) but not in text environments. – Mico Aug 26 '13 at 06:01\textand\mathrm? – Werner Aug 26 '13 at 06:09\mathrmis still math-mode, that means that spaces are not considered (as everywhere else in math-mode) and that-will be a minus sign. It looks likematrixis a word and therefore text. You should use\texthere (or\textrmor\textnormalor …); see Which command should I use for textual subscripts in math mode? Do you also want the space around the\timesto be as usual. The underbrace is set in\scriptstylewhich doesn’t use horizontal space around binary symbols, similar to the subscripts in your formula (\succ/,). – Qrrbrbirlbel Aug 26 '13 at 06:20