如何在\ leq上方添加问号?

Mik*_*ike 23 latex

如何\leq在LaTeX中将符号放在小于或等于符号()的上方?

Ram*_*nka 42

你可以使用stackrel:

\begin{equation}
  2 \stackrel{?}{\le} 3
\end{equation}
\end{document}
Run Code Online (Sandbox Code Playgroud)

或者,如果您使用该amsmath包,您可以使用overset如下:

\documentclass{article}
\usepackage{amsmath}
\begin{document}
\begin{equation}
  2 \overset{?}{\le} 3
\end{equation}
\end{document}
Run Code Online (Sandbox Code Playgroud)

例