# Math-Linux.com

Knowledge base dedicated to Linux and applied mathematics.

Home > Latex > FAQ > Latex - FAQ > How to write a vector in Latex ? \vec,\overrightarrow

## How to write a vector in Latex ? \vec,\overrightarrow

All the versions of this article: <English> <français>

To write a vector in Latex, we can use
\vec function

$$\vec{AB} = 0_E$$

$$\vec{AB} = 0_E$$

or\overrightarrow function

$$\overrightarrow{AB} = 0_E$$

$$\overrightarrow{AB} = 0_E$$