This question already has an answer here:

When using the command \Rightarrow is there any way to put text above it? I have tried \overbrace but is there a way to do it without this?

marked as duplicate by egreg, lockstep, Kurt, Stefan Kottwitz Mar 23 '13 at 22:18

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.


The optional argument is for under:




enter image description here

  • 1
    This produces italicised text, so perhaps one should use a \text{} inside the arguments for "regular" text? – jamesh625 Sep 6 '16 at 7:43
  • sure, it depends on what you want: a math expression or text! – user2478 Sep 6 '16 at 8:54

Probably, you will need the amsmath package, and the commands \overset or \xrightarrow.