TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question
up vote 11 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}​
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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