How to write vector arrow in LaTeX
Use \vec{v} in math mode — between $…$ in a document, or directly in the editor above.
| LaTeX command | \vec{v} |
|---|---|
| Notes | Long arrow: \overrightarrow{AB} |
Example
\vec{F} = m\vec{a}
The editor above is pre-filled with this example — tweak it and export it as PNG, SVG or a Word equation.
More accents
| Symbol | Command |
|---|---|
| Hat | \hat{x} |
| Bar (overline) | \bar{x} |
| Dot (time derivative) | \dot{x} |
| Tilde | \tilde{x} |


