How do I put a question mark above \leq?

前端 未结 3 1008
夕颜
夕颜 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:03

    Use the accents package. You can do more fun stuff with TeX primitives, but here's the easy and most flexible way:

    \documentclass{article}
    \usepackage{accents}
    \newcommand{\qleq}{\accentset{?}{\leq}}
    \begin{document}
    Test: $a \qleq b$.
    \end{document}
    

提交回复
热议问题