Skip to content
latexci
PreviewDiffWord → LaTeXBibTeXSymbolsTableTemplatesAcademics
Sign inFree
PreviewDiffWord → LaTeXBibTeXSymbolsTableTemplatesAcademicsFree
Discord community ↗GitHub ↗
Sign in
LaTeX symbols›Arrows›Xleftarrow

Xleftarrow in LaTeX

The LaTeX command for xleftarrow (←) is \xleftarrow{f} (labeled left arrow).

←f\xleftarrow{f}f​
\xleftarrow{f}
Arrows · Unicode ← (U+2190) · needs amsmath

Writing a paper? The table generator and the BibTeX cleaner are one click away, no account.

How to type Xleftarrow

Write \xleftarrow{f} inside math mode, that is between $…$ for inline math or in a \[ … \] or equation block for display math. This symbol needs the amsmath package, so add \usepackage{amsmath} to your preamble.

Arrows are relations in LaTeX, so \xleftarrow{f} gets the same thick spacing as an equals sign. With unicode-math under XeLaTeX or LuaLaTeX, typing ← in a formula gives the same symbol.

Example
$A \xleftarrow{f} B$A←fBA \xleftarrow{f} BAf​B

Open this example in the live preview: it renders as you type, with no compiler and no signup.

Related Arrows symbols

⇁\rightharpoondown⇋\leftrightharpoons⇌\rightleftharpoons⇢\dashrightarrow↺\circlearrowleft↻\circlearrowright→\xrightarrow{f}⟶\longrightarrow⟵\longleftarrow⟹\Longrightarrow→\to←\leftarrow→\rightarrow↔\leftrightarrow

Arrows in LaTeX: the full table or search all 350+ LaTeX symbols.

FAQ

How do you write xleftarrow (←) in LaTeX?

Use \xleftarrow{f} in math mode after adding \usepackage{amsmath} to your preamble. For example, $A \xleftarrow{f} B$.

Which package provides \xleftarrow{f}?

It comes from the amsmath package: add \usepackage{amsmath} to your preamble.

latexci

Free LaTeX tools for researchers and students, in any browser. No paid plan, no advertising.

Star on GitHubBuy me a coffee

Tools

Live PreviewBibTeX ToolsDOI → BibTeXarXiv → BibTeXPubMed → BibTeXISBN → BibTeXLaTeX DiffWord → LaTeXSymbol SearchTable GeneratorTemplatesCV Generator

Learn

Academics hubLife after OverleafFreeGitHub

Community

DiscordGitHub IssuesFeature Requests

© 2026 latexci. By Sitraka Forler, sitraka.lu

PrivacyTerms