Left Vector in LaTeX (\overleftarrow{AB})
- LaTeX command
\overleftarrow{AB}- Package
- No package needed: built into LaTeX
- Mode
- Text and math mode
Where it is used
Draws a left-pointing arrow spanning the argument, marking reversed direction or a backward-read sequence.
Less common than its right-pointing counterpart, \overleftarrow{AB} appears when a vector or path is read from B back to A, for the reversed word or string in formal language theory, and for backward-time or adjoint quantities in physics. Its arrow stretches across the full argument just like \overrightarrow. If you need arrows under the expression instead, amsmath supplies \underleftarrow and \underrightarrow. For a single-letter backward vector there is no built-in short form like \vec, so this wide command is the usual choice.
Minimal compilable example
Paste this into an empty .tex file and compile it with pdfLaTeX, XeLaTeX or LuaLaTeX.
\documentclass{article}
\begin{document}
Left Vector: $\overleftarrow{AB}$
\[ \overleftarrow{w} = a_n a_{n-1} \cdots a_1 \]
\end{document}Related symbols
- Line Arrow (over AB)
\overleftrightarrow{AB} - Wide Vector
\overrightarrow{AB} - Acute
\acute{x} - Vector Arrow
\vec{x} - Grave
\grave{x} - Underline
\underline{xyz}
Frequently asked questions
- How do I write Left Vector in LaTeX?
- Type \overleftarrow{AB} in math mode, for example $\overleftarrow{w} = a_n a_{n-1} \cdots a_1$. It works in plain LaTeX without loading any package.
- Which package do I need for \overleftarrow{AB}?
- None. \overleftarrow{AB} is part of standard LaTeX, so it compiles with nothing in the preamble but the document class.
- Can I use \overleftarrow{AB} in text mode, or only in math mode?
- Both. \overleftarrow{AB} compiles in running text as well as inside $...$; in a formula keep it in math mode so it gets math fonts and spacing.
최고의 AI LaTeX 편집기, Overleaf 대안
Octree는 15개 이상의 대학의 연구자들이 AI를 사용하여 논문을 더 빠르게 작성하도록 도움
- AI로 아름다운 TikZ 다이어그램 생성
- 이미지를 업로드하고 LaTeX로 원활하게 변환
- 논문 작성 및 서식에 대한 즉각적인 지원 받기