[Tex/LaTex] How to change the dot of the letter “i” to another character

fontsletterspositioningsymbols

How to change the dot of the letter "i" to another character, so that works on Latex/MathJax.

For example:

$i^\star$, how to replace the dot by the star?

When I type ´ + i displays:

í

Is there a way to replace ´ by other character?

Thank you in advance.

Best Answer

The macro \i prints an i without the dot when in text mode. Then, just use \overset to set something above it.

\documentclass{article}
\usepackage{amsmath}
\begin{document}
$\overset{*}{\text{\i}}$
or
$\overset{+}{\text{\i}}$
\end{document}

enter image description here