Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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?

share|improve this question
    
What if you type the letter directly without using \i? –  ℝaphink Aug 21 '12 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 '12 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. –  Ulrike Fischer Aug 21 '12 at 10:18
    
That works the way I want! Thank you very much. –  Ramprasad Aug 21 '12 at 10:23
    
I added the comment as answer so that you can accept and so close it. –  Ulrike Fischer Aug 21 '12 at 11:08

1 Answer 1

up vote 3 down vote accepted

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.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.