2

I am on an ubuntu machine with XeLaTeX and have been facing this annoying issue. On setting roman font to any of my otf files (Adobe Jenson Pro, Adobe Garamond Pro etc), the dotless i and j characters (\i and \j) default to ComputerModern.

\documentclass[12pt]{article}

\usepackage[T1]{fontenc}
\usepackage{fontspec}
\setromanfont{Adobe Garamond Pro}

\begin{document}

{\Huge i \i \"{i}}
\end{document}

And this is the output:

enter image description here

The otf file does seem to have the dotless-i symbol but this keeps defaulting to CM. Some of my friends using a mac don't seem to be facing this problem though. Is this a non-mac specific issue?

4
  • What if you type the letter directly without using \i?
    – raphink
    Aug 21, 2012 at 10:12
  • That works! (stupid of me not to have tried that) But I don't understand why \i doesn't.
    – Ramprasad
    Aug 21, 2012 at 10:15
  • 2
    It works fine for me with a current miktex. Are you using a current tex live or do you use the outdated texlive of ubuntu? In the second case: check if fontspec loads xunicode, if not load xunicode after fontspec. Aug 21, 2012 at 10:18
  • That works the way I want! Thank you very much.
    – Ramprasad
    Aug 21, 2012 at 10:23

1 Answer 1

3

It works fine for me with a current miktex. Are you using a current texlive or do you use the outdated texlive of ubuntu? In the second case: check if fontspec loads xunicode, if not load xunicode after fontspec.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .