August 15, 2025

Writing vectors in LaTeX is essential for mathematics, physics, and engineering documents. This comprehensive guide covers all the different ways to represent vectors in LaTeX, from basic notation to advanced formatting techniques.
There are several ways to represent vectors in LaTeX. The most common approaches are using bold notation and arrow notation. Here are the standard methods:
The most common way to write vectors is using bold notation. Use \mathbf{} for bold vectors:
For unit vectors, you typically use \hat{} with bold notation:
Arrow notation is also popular, especially in physics. Use \vec{}:
Vectors are often represented as column matrices. Here are different ways to format vector components:
Here are common vector operations and how to write them in LaTeX:
Here’s a reference table of common vector-related LaTeX commands:
\mathbf{v} - Bold vector\vec{v} - Arrow vector\hat{v} - Unit vector\cdot - Dot product\times - Cross product\|v\| - Vector norm/magnitude\nabla - Del/nabla operator\begin{pmatrix} - Column vector with parentheses\begin{bmatrix} - Column vector with brackets\mathbf) or arrow (\vec) notation and stick with it throughout your document\hat{} for unit vectors to distinguish them from regular vectors\, or \quadv_x, v_y, v_z for componentsNeed help with any of these vector equations? Underleaf’s Image to LaTeX tool can convert handwritten notes, textbook equations, or screenshots directly into clean LaTeX code. Try it for free and save time on your next project!
Mastering vector notation in LaTeX is essential for anyone working in STEM fields. With these techniques and commands, you’ll be able to create professional-looking mathematical documents with proper vector notation. Remember to maintain consistency in your notation style and use the appropriate commands for your specific field of study.
Empowering students and researchers with AI-powered tools for academic writing.
Go to appContact us© 2026 Underleaf. All rights reserved.