loading tool…
The LaTeX command for xleftarrow (←) is \xleftarrow{f} — labeled left arrow.
\xleftarrow{f}Write \xleftarrow{f} inside math mode — that is, between $…$ for inline math or in a \[ … \] / equation block for display math. This symbol needs the amsmath package, so add \usepackage{amsmath} to your preamble.
$A \xleftarrow{f} B$Prefer to see it live? Paste it into the LaTeX preview and it renders as you type — no compiler, no signup.
\to\leftarrow\rightarrow\leftrightarrow\Leftarrow\Rightarrow\Leftrightarrow\iff\implies\uparrow\downarrow\updownarrow\nearrow\searrowSearch all 380+ LaTeX symbols →
Use \xleftarrow{f} in math mode after adding \usepackage{amsmath} to your preamble. For example, $A \xleftarrow{f} B$.
It comes from the amsmath package — add \usepackage{amsmath} to your preamble.