TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

There are a few articles on how to do this for left arrow or right arrow but the method doesn't work for \leftrightarrow.

What I want is to write a \longleftrightarrow with “DFT” above it.

I've tried:


None has worked.

share|improve this question
up vote 10 down vote accepted

You can define an extensible "leftright arrow" by the method explained in Section 38 in Mathmode.pdf by Herber Voß. You can read it with texdoc mathmode on your machine or via this link.


  \ext@arrow 9999{\longleftrightarrowfill@}{#1}{#2}}


$F \xleftrightarrow{\text{DFT}} G$

$F \xleftrightarrow{\text{overlong text}} G$


enter image description here

The optional argument to \xleftrightarrow is for a "under label", so \xleftrightarrow[xyz]{} will have xyz under the arrow, while \xleftrightarrow[xyz]{abc} will have abc over and xyz under the arrow.

share|improve this answer
They are already provided by mathtools ;-) – daleif Feb 4 '13 at 9:21
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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