十分に広い右矢印のテキスト

十分に広い右矢印のテキスト

右矢印のサイズを変更して、その上のテキストの幅に合わせて調整する方法はありますか?

\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}

上記のコードは、調整されていない次のような結果のみを生成します。 ここに画像の説明を入力してください

答え1

ご利用\xRightarrow可能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}

ここに画像の説明を入力してください

構文は次のようになります。\xRightarrow[below]{above}

関連情報