[Tex/LaTex] column vector without using \bmatrix

alignmath-modematrices

How can I write a colomn vector like following without using \bmatrix? (no \usepackage{amsmath})

Thanks a lot!

enter image description here

Best Answer

No amsmath needed, using \left[...\right] and an array environment in between, just 'ordinary' math - content from LaTeX:

\documentclass{article}


\begin{document}
$y = \left[\begin{array}{@{}c@{}}
    x_{1} \\
    x_{2} \\
    \vdots \\
    x_{m} 
    \end{array} \right]$
\end{document}

enter image description here