[Tex/LaTex] How to write a vector with an underline instead of an arrow


I don't like the way the vector with an arrow $\vec{x}$ looks. I would prefer to indicate it with a line underline but when I google it nothing comes up to show me how to do it. Does anyone know?





Best Answer

Here is a comparison of a few techniques to represent a vector (not sure about the \overline, \underline ones as I don't think that that is standard usage):

enter image description here



$\vec{x}$  $\overline{x}$  $\underline{x}$  $\mathbf{x}$

$\vec{\mathbf{x}}$  $\overline{\mathbf{x}}$  $\underline{\mathbf{x}}$