2

This question already has an answer here:

Is there a way to resize the rightarrow so that it can adjust to the width of the text over it?

\documentclass[12pt, a4paper, english]{article}
\usepackage[T1]{fontenc}
\usepackage[latin9]{inputenc}
\usepackage{amsmath}
\usepackage{babel}

\begin{document}
\begin{equation}
  \overset{\text{l'Hopital's rule}}{\Longrightarrow}
\end{equation}
\end{document}

The code above only generates result like this, which is non-adjusted. enter image description here

marked as duplicate by Werner, Heiko Oberdiek, jubobs, Adam Liter, Thorsten Apr 19 '14 at 16:35

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.

2

You can use \xRightarrow from mathtools:

\documentclass[12pt, a4paper, english]{article}
\usepackage[T1]{fontenc}
\usepackage[latin9]{inputenc}
\usepackage{mathtools}
\usepackage{babel}

\begin{document}
\begin{equation}
   \xRightarrow{\text{l'Hopital's rule}}
\end{equation}
\end{document}

enter image description here

It has the syntax: \xRightarrow[below]{above}

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