Long Left Arrow in LaTeX (\longleftarrow)
- LaTeX command
\longleftarrow- Package
- No package needed: built into LaTeX
- Mode
- Math mode only
- Copy the Unicode character
- ⟵
U+27F5
Where it is used
Draws a long single left arrow, a stretched version of \leftarrow for wide or emphasized maps.
\longleftarrow is a fixed-length long arrow, about twice the length of \leftarrow, built from a minus sign and an arrowhead. It is useful when arrows point between long expressions or in inline diagrams of exact sequences written right to left. For text above the arrow, the extensible \xleftarrow{f} is better because it grows with the label. Assignment in algorithms usually uses the short \gets instead. Its double-shafted counterpart is \Longleftarrow, which underlies the implied-by symbol \impliedby.
Minimal compilable example
Paste this into an empty .tex file and compile it with pdfLaTeX, XeLaTeX or LuaLaTeX.
\documentclass{article}
\begin{document}
Long Left Arrow: $\longleftarrow$
\[ 0 \longleftarrow C \longleftarrow B \longleftarrow A \longleftarrow 0 \]
\end{document}Related symbols
- Long Right Arrow
\longrightarrow - Up Arrow
\uparrow - Down Arrow
\downarrow - Right Arrow
\rightarrow - Left Arrow (Double)
\Leftarrow - Left Arrow
\leftarrow
Frequently asked questions
- How do I write Long Left Arrow in LaTeX?
- Type \longleftarrow in math mode, for example $0 \longleftarrow C \longleftarrow B \longleftarrow A \longleftarrow 0$. It works in plain LaTeX without loading any package.
- Which package do I need for \longleftarrow?
- None. \longleftarrow is part of standard LaTeX, so it compiles with nothing in the preamble but the document class.
- Can I use \longleftarrow in text mode, or only in math mode?
- Only in math mode. Outside $...$ LaTeX stops with "Missing $ inserted", so write $\longleftarrow$ in running text. If you only need the glyph in text, paste the Unicode character ⟵ instead (with XeLaTeX or LuaLaTeX and a font that has it).
أفضل محرر LaTeX بالذكاء الاصطناعي، بديل Overleaf
يساعد Octree الباحثين من أكثر من 15 جامعة على كتابة أوراق البحث بشكل أسرع باستخدام الذكاء الاصطناعي
- أنشئ رسوم TikZ جميلة باستخدام الذكاء الاصطناعي
- ارفع صورة وحولها إلى LaTeX بسلاسة
- احصل على مساعدة فورية في كتابة وتنسيق أوراق البحث