10

Of all the arrows available, I can't seem to find something that looks like this:

enter image description here

Is there a reason for this? The \leftrightharpoons is the closest alternative. But I would rather have the arrows look like in the image above.

5
  • 1
    Possible duplicate of How to look up a symbol or identify a math symbol or character? Commented May 8, 2017 at 12:30
  • 4
    See, e.g. \rightleftarrows in table 146 of the Comprehensive LaTeX symbols. Commented May 8, 2017 at 12:31
  • 3
    @Schweinebacke None of the symbols listed is like that, as far as I can see.
    – egreg
    Commented May 8, 2017 at 12:36
  • 1
    @Schweinebacke That document was awesome. Mathabx package got the symbol (page 71).
    – E. l4d3
    Commented May 8, 2017 at 13:01
  • 1
    There are six different versions of \leftrightarrows/\rightleftarrows listed in the comprehensive list, but none of them are identical to your image (the arrows are positioned a bit different, with the start of one arrow directly above/below the tip of the other). Commented May 8, 2017 at 13:14

2 Answers 2

11

Here's a code for it:

\documentclass{article}
\usepackage{amsmath}

\makeatletter
\newcommand{\lrarrow}{\mathrel{\mathpalette\lrarrow@\relax}}
\newcommand{\lrarrow@}[2]{%
  \vcenter{\hbox{\ooalign{%
    $\m@th#1\mkern6mu\rightarrow$\cr
    \noalign{\vskip1pt}
    $\m@th#1\leftarrow\mkern6mu$\cr
  }}}%
}
\makeatother

\begin{document}

$A\lrarrow B_{\lrarrow}$

\end{document}

enter image description here

8
\documentclass{article}
\usepackage{stackengine,scalerel}
\newcommand{\lrarrow}{\mathrel{\ensurestackMath{\ThisStyle{%
  \stackanchor[\dimexpr-2.5pt-4\LMpt]{\SavedStyle\,\,\rightarrow}%
                                     {\SavedStyle\leftarrow\,\,}}}}}
\begin{document}\Huge
$A\lrarrow B_{\lrarrow}$


$\scriptstyle A\lrarrow B_{\lrarrow}$
\end{document}

enter image description here

Alternately,

\documentclass{article}
\usepackage{stackengine,scalerel}
\newcommand{\lrarrow}{\mathrel{\ensurestackMath{\ThisStyle{\renewcommand\stacktype{L}%
  \stackanchor[3\LMpt]{\SavedStyle\,\,\rightarrow}{\SavedStyle\leftarrow\,\,}}}}}
\begin{document}\Huge
$A\lrarrow B_{\lrarrow}$


$\scriptstyle A\lrarrow B_{\lrarrow}$
\end{document}

enter image description here

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .