Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dot-less i' and j' #29

Open
cspiel opened this issue Jul 15, 2020 · 2 comments
Open

Dot-less i' and j' #29

cspiel opened this issue Jul 15, 2020 · 2 comments

Comments

@cspiel
Copy link
Contributor

cspiel commented Jul 15, 2020

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.

@maranget
Copy link
Owner

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

@cspiel
Copy link
Contributor Author

cspiel commented Jul 15, 2020

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants