
右矢印のサイズを変更して、その上のテキストの幅に合わせて調整する方法はありますか?
\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}