开发者

How do I put a question mark above \leq?

开发者 https://www.devze.com 2022-12-21 08:56 出处:网络
How can I put a question ma开发者_高级运维rk above a less-than-or-equal-to symbol(\\leq) in LaTeX?You can use stackrel:

How can I put a question ma开发者_高级运维rk above a less-than-or-equal-to symbol(\leq) in LaTeX?


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}

How do I put a question mark above \leq?


\stackrel{\text{\tiny ?}}{=}


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

精彩评论

暂无评论...
验证码 换一张
取 消