Long Right Arrow in LaTeX (\longrightarrow)
- LaTeX command
\longrightarrow- Package
- No package needed: built into LaTeX
- Mode
- Math mode only
- Copy the Unicode character
- ⟶
U+27F6
Where it is used
Draws a long single right arrow, often for convergence statements and arrows between long expressions.
Writers use \longrightarrow when a short \to looks cramped, for instance in a_n \longrightarrow L or between two long terms in a reduction. A condition under the arrow can be added with \xrightarrow[n \to \infty]{}, which stretches to the label, or with \underset{n\to\infty}{\longrightarrow}. Chemistry uses long arrows for reactions with conditions written above. It is a fixed-length symbol, unlike the extensible arrows. The double version is \Longrightarrow, which is what \implies prints with extra spacing.
Minimal compilable example
Paste this into an empty .tex file and compile it with pdfLaTeX, XeLaTeX or LuaLaTeX.
\documentclass{article}
\usepackage{amsmath}
\begin{document}
Long Right Arrow: $\longrightarrow$
\[ a_n \xrightarrow{n \to \infty} 0, \quad f_n \longrightarrow f \]
\end{document}Related symbols
- Down Arrow
\downarrow - Long Left Arrow
\longleftarrow - Left Arrow (Double)
\Leftarrow - Up Arrow
\uparrow - Right Arrow (Double)
\Rightarrow - Right Arrow
\rightarrow
Frequently asked questions
- How do I write Long Right Arrow in LaTeX?
- Type \longrightarrow in math mode, for example $a_n \xrightarrow{n \to \infty} 0, \quad f_n \longrightarrow f$. It works in plain LaTeX without loading any package.
- Which package do I need for \longrightarrow?
- None. \longrightarrow is part of standard LaTeX, so it compiles with nothing in the preamble but the document class.
- Can I use \longrightarrow in text mode, or only in math mode?
- Only in math mode. Outside $...$ LaTeX stops with "Missing $ inserted", so write $\longrightarrow$ 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).
최고의 AI LaTeX 편집기, Overleaf 대안
Octree는 15개 이상의 대학의 연구자들이 AI를 사용하여 논문을 더 빠르게 작성하도록 도움
- AI로 아름다운 TikZ 다이어그램 생성
- 이미지를 업로드하고 LaTeX로 원활하게 변환
- 논문 작성 및 서식에 대한 즉각적인 지원 받기