vector notation in latex code example Example 1: vector latex \begin{bmatrix} x_1 \\ \vdots \\ x_n \end{bmatrix} Example 2: latex vector syntax %For vector A% \Vec{A}