How do I put a question mark above \leq?

前端 未结 3 973
夕颜
夕颜 2021-02-04 00:30

How can I put a question mark above a less-than-or-equal-to symbol(\\leq) in LaTeX?

3条回答
  •  情话喂你
    2021-02-04 01:06

    You can use stackrel:

    \begin{equation}
      2 \stackrel{?}{\le} 3
    \end{equation}
    \end{document}
    

    Or, if you use the amsmath package, you can use overset as follows:

    \documentclass{article}
    \usepackage{amsmath}
    \begin{document}
    \begin{equation}
      2 \overset{?}{\le} 3
    \end{equation}
    \end{document}
    

    Example

提交回复
热议问题