Dividir uma \bmatrix em duas linhas

Dividir uma \bmatrix em duas linhas

Código

\documentclass[a4paper,twoside,12pt]{book}
\usepackage[utf8]{inputenc}
\usepackage{amsmath}

$\bm{\mu^*}$ = 
\begin{bmatrix}
\begin{split}
17.0716 & 21.3746 & 31.2462 & 34.2847 & 37.0049 & 43.2856 & 50.8193 & 59.7093\\[0.3em]
\end{split}
\end{bmatrix}

Saída

Saída

Pergunta

Como posso dividir o vetor horizontal em duas linhas?

Responder1

Que tal usar um smallmatrix?

insira a descrição da imagem aqui

Código:

\documentclass[a4paper,twoside,12pt]{book}
\usepackage[utf8]{inputenc}
\usepackage{amsmath,bm}
\begin{document}
\[
\bm{\mu^*} =
[\begin{smallmatrix}
 17.0716 & 21.3746 & 31.2462 & 34.2847 & 37.0049 & 43.2856 & 50.8193 & 59.7093
\end{smallmatrix}]
\]
\end{document} 

Responder2

Aqui estão três possibilidades:

\documentclass[a4paper,twoside,12pt]{book}
\usepackage[utf8]{inputenc}
\usepackage{amsmath,bm}


\begin{document}

%%%% reduce the intercolumn space
\noindent % to emulate a preceding text
the unrounded $\bm{\mu}^*$ vector is
\[\addtolength{\arraycolsep}{-2.5pt}
\bm{\mu}^* = 
\begin{bmatrix}
17.0716 & 21.3746 & 31.2462 & 34.2847 & 37.0049 & 43.2856 & 50.8193 & 59.7093
\end{bmatrix}
\]
obtained with $484$ experiments.

%%%% use split
\noindent % to emulate a preceding text
the unrounded $\bm{\mu}^*$ vector is
\[
\begin{split}
\bm{\mu}^* &= 
[\begin{matrix} 17.0716 & 21.3746 & 31.2462 & 34.2847 \end{matrix} \\
 &\qquad\qquad \begin{matrix} 37.0049 & 43.2856 & 50.8193 & 59.7093 \end{matrix}]
\end{split}
\]
obtained with $484$ experiments.

%%%% use multline
\noindent % to emulate a preceding text
the unrounded $\bm{\mu}^*$ vector is
\begin{multline*}
\bm{\mu}^* = 
[\begin{matrix} 17.0716 & 21.3746 & 31.2462 & 34.2847 \end{matrix} \\
 \begin{matrix} 37.0049 & 43.2856 & 50.8193 & 59.7093 \end{matrix}]
\end{multline*}
obtained with $484$ experiments.

\end{document}

insira a descrição da imagem aqui

Responder3

Eu não faria nada além de transpor e escrever corretamente. Mas se você insistir...

\documentclass[]{article}
\usepackage{mathtools}
\begin{document}\noindent
The vector is given by

\begin{multline}
\mu^* = \left[ \begin{matrix}17.0716 & 21.3746 & 31.2462\end{matrix}\right. \\
        \left.\begin{matrix} 34.2847 & 37.0049 & 43.2856 & 50.8193 & 59.7093\end{matrix}
        \right]
\end{multline}
and we don't mind making the vector ugly. 
\end{document}

insira a descrição da imagem aqui

Responder4

Uma maneira possível:

\documentclass[a4paper,twoside,12pt]{book}
\usepackage[utf8]{inputenc}
\usepackage{amsmath,bm}
\begin{document}
$\bm{\mu^*} =
\begin{array}{ccccc}
 \bigl[17.0716 & 21.3746 & 31.2462 & 34.2847  \\
 & 37.0049 & 43.2856 & 50.8193 & 59.7093 \bigr]
 \end{array}
$

\end{document}

insira a descrição da imagem aqui

Se quiser, você pode usar \begin{array}[t]{ccccc} (nota [t]) para obter

insira a descrição da imagem aqui

informação relacionada