This is maybe easy question. How is the right/good way to put a hat on a binary operator like \otimes? For example a\otimes b vs a\hat\otimes b In the second case it is not typeset as a binary operator anymore, i.e. missing spaces.

up vote 12 down vote accepted

Use a\mathbin{\hat\otimes}b to retrieve the original spacing of a binary operator:

enter image description here

\documentclass{article}
\begin{document}
$a\otimes b \quad a\hat\otimes b \quad a\mathbin{\hat\otimes}b$
\end{document}​

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.