Symbols
Arrow notation
To print a vector, we can use the \vec command.
\vec{v}
You can also use \overrightarrow or \overleftarrow.
\overrightarrow{v}
\overleftarrow{v}
Bold notation
It is also possible to use the \mathbf command if you want to print a bold vector.
\mathbf{v}
Vector
If you want to print , the method is analogous to the matrix.
\begin{pmatrix}
v_1 \\
v_2 \\
\vdots \\
v_n
\end{pmatrix}
You can also use:
\begin{bmatrix}for square brackets .\begin{Bmatrix}for double square brackets .\begin{matrix}for nothing .\begin{vmatrix}for vertical bars .\begin{Vmatrix}for double vertical bars .
You may want to check the matrix article to learn how to print matrices in latex.