1

How can I do something like this

$L_1 \xrightarrow[\alpha]{\xleftarrow{\gamma}}L_2$

where both arrows are of the same length?

  • 1
    Is $L_1 \xleftrightharpoons[\gamma]{\alpha} L_2$ acceptable? (might need the mathtools package instead of amsmath) – Henri Menke Aug 3 '16 at 11:38
  • @HenriMenke Good call, but unfortunately not in this particular case. I'm trying to get that into Freeplane which - unfortuantely - does not come with mathtools (or at least I have not yet found an option that would allow me to use xleftrightharpoons). – User1291 Aug 3 '16 at 12:05
2

The excellent Mathmode document explains how to make extensible arrows of all kinds (§38; pp.78-79). Here is an xleftrightarrow:

\documentclass{article}
\usepackage{mathtools, amssymb}

\makeatletter
\newcommand\xlongleftrightarrow[2][]{%
\ext@arrow 0059{\longleftrightarrowfill@}{#1}{#2}%
}
\def\longleftrightarrowfill@{%
\arrowfill@ ← \relbar → }
\makeatother

\begin{document}

\begin{equation*}
  A \xlongleftrightarrow[\quadα\quad]{γ\quadχ}B%
  \xlongleftrightarrow[\alpha]{γ} C \xlongleftrightarrow[ζ\,η\,θ\,ι\,\varkappa]{\,α\,β\,γ\,δ\,ε\,}D
\end{equation*}

\end{document} 

enter image description here

  • Thank you. But I'd prefer two arrows to avoid ambiguity. Doesn't have to be straight arrows, if that helps. – User1291 Aug 3 '16 at 13:00
  • It seems I had misunderstood what you were asking for… – Bernard Aug 3 '16 at 13:02
  • Perhaps the OP wants left/right harpoons? – Steven B. Segletes Aug 3 '16 at 13:48
  • I really have no idea. – Bernard Aug 3 '16 at 14:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.