\hat - Used to draw hat accent.
{ \hat #1 }
\hat command draws hat accent over the argument.
\hat\imath
\hat\jmath
\hat ab
\hat {ab}