Questioned Equal To (≟) symbol in LaTeX
The Questioned Equal To symbol is represented by a question symbol above an equal symbol. In this tutorial, you will learn how to write this symbol in LaTeX.
There is no command to get the Questioned Equal To (≟) symbol in LaTeX. So you have to make a \newcommand
and use the stackengine
package to stack symbols together like this,
\newcommand{\questionequal}{\mathrel{\stackon[1pt]{=}{?}}}
\documentclass{article} \usepackage{amsmath} \usepackage{stackengine} \stackMath \newcommand{\questionequal}{\mathrel{\stackon[1pt]{=}{?}}} \begin{document} $$ A \questionequal B $$ \end{document}
Output:
But, you can see the above output, here the question symbol is too large. In order to resize the question mark symbol you can use the \scalebox
command provided by the graphicx
package.
\documentclass{article} \usepackage{amsmath} \usepackage{graphicx} \usepackage{stackengine} \newcommand{\questionequal}{\mathrel{\stackon[1pt]{=}{\scalebox{0.5}{?}}}} \begin{document} $$ A \questionequal B $$ \end{document}
Output:
Leave a Reply