hevea icon indicating copy to clipboard operation
hevea copied to clipboard

Dot-less `i' and `j'

Open cspiel opened this issue 5 years ago • 2 comments

This is "just for the record". We have to be careful when using the dot-less 'i' and the dot-less 'j'.

This example exhibits most of the quirks.

\documentclass{article}

\begin{document}
Dot-less (mathematical) ``$i$'' and ``$j$'':
\[
  \imath, \jmath; \vec{\imath}, \vec{\jmath}; \hat{\imath}, \hat{\jmath}; \bar{\imath}, \bar{\jmath};
\]

\begin{itemize}
\item ``i''
  \begin{itemize}
  \item Accented ``i'': \^i, \'i, \`i;
    same in italics -- \textit{``i'': \^i, \'i, \`i};
  \item Accented dot-less ``\i'': \^{\i}, \'{\i}, \`{\i};
    same in italics -- \textit{``\i'': \^{\i}, \'{\i}, \`{\i}};
  \item Accented dot-less, math mode ``$\imath$'': $\vec{\imath}$,
    $\hat{\imath}$, and $\bar{\imath}$;
  \end{itemize}

\item ``j''
  \begin{itemize}
  \item Accented ``j'': \^j, \'j, \`j;
    same in italics -- \textit{``j'': \^j, \'j, \`j};
  \item Accented dot-less ``\j'': \^{\j}, \'{\j}, \`{\j};
    same in italics -- \textit{``\j'': \^{\j}, \'{\j}, \`{\j}};
  \item Accented dot-less, math mode ``$\jmath$'': $\vec{\jmath}$,
    $\hat{\jmath}$, and $\bar{\jmath}$;
  \end{itemize}
\end{itemize}
\end{document}

Please compare with the LaTeX rendering for the reference translation.

cspiel avatar Jul 15 '20 08:07 cspiel

Hi, your example is now handled correctly. Thanks for the report.

maranget avatar Jul 15 '20 13:07 maranget

THX for fixing the problem so fast. Your patch is OMG-large!

After pulling the change, $\imath$, $\jmath$ and their decorated variants are typeset in roman style, not italics as TeX uses for any math. On the other hand the "same in italics" sections of the example are correctly rendered as italics.

cspiel avatar Jul 15 '20 14:07 cspiel