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

I know it's possible to have \xrightarrow (text), but if I try to do \xRightarrow (text) I get an error each time. Does anybody know if it's a syntax error or if there is a other way to produce the \Rightarrow with text above?

share|improve this question
up vote 29 down vote accepted

enter image description here

Just taking the definition of \xrightarrow and replacing r by R :


\newcommand{\xRightarrow}[2][]{\ext@arrow 0359\Rightarrowfill@{#1}{#2}}




share|improve this answer
oh, please at least make that \mathit{hello} to get rid of the obnoxious math kerning. – barbara beeton Dec 1 '12 at 19:19
As I posted I felt your pain but I had to dash:-) – David Carlisle Dec 1 '12 at 20:52



enter image description here

share|improve this answer
Why the difference in arrow lengths? The head of the double arrow is under "o" of hello, while "hello" is entirely above the shaft of the single arrow. – Joshua Taylor Sep 1 '14 at 14:59

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.