Why the space? how remove the space?
\begin{gather}
W =
\begin{bmatrix}
{1^W}^T\\
{2^W}^T \\
. &\\
. &\\
{s^W}^T
\end{bmatrix}
\end{gather}
Why the space? how remove the space?
\begin{gather}
W =
\begin{bmatrix}
{1^W}^T\\
{2^W}^T \\
. &\\
. &\\
{s^W}^T
\end{bmatrix}
\end{gather}
Get rid of the two & tab separators...they result in the creation of a 2nd column in the matrix.
\documentclass{article}
\usepackage{amsmath}
\begin{document}
\begin{gather}
W =
\begin{bmatrix}
{1^W}^T\\
{2^W}^T \\
. \\
. \\
{s^W}^T
\end{bmatrix}
\end{gather}
\end{document}
Also, consider replacing the .\\.\\ with \vdots\\, as in
\documentclass{article}
\usepackage{amsmath}
\begin{document}
\begin{gather}
W =
\begin{bmatrix}
{1^W}^T\\
{2^W}^T \\
\vdots \\
{s^W}^T
\end{bmatrix}
\end{gather}
\end{document}
\vdots is constructed from periods, which sit on the baseline, so there's quite a lot of "air" above the top one. some methods for compacting them or adjusting the vertical space appear in answers to https://tex.stackexchange.com/q/412407/579 .
– barbara beeton
Dec 04 '18 at 04:01
\[\begin{cases}...\end{cases} \equiv \begin{cases}...\end{cases}\], right?
– manooooh
Dec 04 '18 at 04:20
cases (left brace, no right brace). Another differrence, bmatrix uses center alignment, where as cases uses right/left, right/left alignment.
– Steven B. Segletes
Dec 04 '18 at 04:43
&tabs, which create a second column. – Steven B. Segletes Dec 04 '18 at 03:14