[Tex/LaTex] How to get \^{\i} working in math enviroment

amsfontsamsmathamssymbmath-modesymbols

My question is a like the one here: only with different symbol.

With typing: \[\^{\i}\] i want to get a get a i with a ^ (replacing the dot) on its head.

So far, so good. Means it works (i get the symbol i wish to get) but TeXstudio (Version 2.12.10 (git 2.12.10)) gives me two warnings also:

Command \^ invalid in math mode

and

Command \i invalid in math mode

The command \hat{i} gives me an i with a ^ ontop. That is not excactly what i want.

The solution with $\o$ replaced by \varnothing or \Emptyset seams to be the same, well maybe i'm just searching for the right word for my symbol in question?

Any suggestions?


Update 1 after getting a solution form @Henri Menke

(On the left side of the equation)
The left one is the result of \hat{\imath} result, \cdot, the right one it the result of \^{\i}

The left one is the result of <code>\hat{\imath}</code>, the right one is the result of <code>\^{\i}</code>

With other words:
Not the same: The left one is the result of <code>\hat{\imath}</code>, the right one is the result of <code>\^{\i}</code>
Lets assume that \hat{\imath} is indeed the right symbol, than i have to write \(\hat{\imath}\) (with math enviroment) every time i need to use it in my text for reference?


Update 2 I knew that link before asking my question but it wasn't helpfull in my case. Maybe have a look here, for looking up other unknown symbols if you have a "similar" question (Please credit him if it helps you)

Best Answer

You can access the dotless version of i and j in math mode using \imath and \jmath.

\documentclass{article}
\begin{document}
$\hat{\imath}$
$\hat{\jmath}$
\end{document}

enter image description here

Related Question