[Tex/LaTex] How to write properly math accent for letter i

accentscharactersmath-mode

When it is requested to write letter "í" in math mode, it happens that $\acute{i}$ is not the right answer as it could be expected: the accent (´) is written over the letter (i), without deleting/overwriting the upper dot (^{.}) Another possiblity to solve the problem: $\acute{\imath}$, not always works satisfactorily. Is there another way to do it, obtaining an acceptable/appropriate character?

Best Answer

$\acute{\imath}$ is the right way. What do you mean by "not always works satisfactorily"?

In general, \imath and its companion \jmath should be used for the math accents:

  • \acute{\imath}
  • \grave{\imath}
  • \dot{\imath} (ambiguous!)
  • \ddot{\imath}

and so on.

\documentclass{article}

\usepackage{inputenc}
\usepackage{amsmath} % tex.stackexchange.com/questions/69373/#comment148505_69374

\begin{document}
  $\imath$ $\acute{\imath}$ $\acute{i}$ $\grave{\imath}$ $\dot{\imath}$ $i$ $\ddot{\imath}$
  
  $\jmath$ $\acute{\jmath}$ $\acute{j}$ $\grave{\jmath}$ $\dot{\jmath}$ $j$ $\ddot{\jmath}$
  
  $X_{\mathrm{s\acute\imath}}$ $X_{\textup{s\'i}}$ $X_{\textup{sí}}$
\end{document}

enter image description here