# How do I make \hat{i} pretty?

I'm looking for a way to make the hat in \hat{i} replace the dot. I can't find anything on Google, and am seemingly too dumb to figure it out myself.

-
Mabye \hat{\i}? –  cgnieder Nov 19 '12 at 19:24
–  Peter Grill Nov 19 '12 at 19:37

The dotless i is available as \imath, and similarly \jmath for a dotless j:

## Code:

\documentclass{article}
\newcommand*{\I}{\imath}
\newcommand*{\J}{\jmath}

\begin{document}
$\hat{\I}$, $\hat{\J}$
\end{document}

-
Thank you, that is simpler than I had anticipated! –  mueslo Nov 22 '12 at 12:33