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}
With other words:

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)




\hat{\imath}. – Henri Menke Aug 05 '18 at 04:27\^{\i}without being math mode the same way. Thank you for clarification. – user167193 Aug 05 '18 at 06:04hat{\imath}. Obviously, this requires the use of math mode. Henri's answer is correct. – Mico Aug 05 '18 at 06:09