2

I'm using XeTeX and my % symbol is not showing when I compile to PDF! I've added my code below. I've gone through the XeTeX companion guide (maybe not very thoroughly) and Googled, but I can't find out why this is happening. I would totally appreciate anyone telling me why it's not working and how to fix it.

\begin{description} \fontspec[]{ArchitectsDaughter} As 1\% RF = 1 cM, two genes which lie 100 cM apart should have a recombination frequency of 100 \% \end{description}

Thanks in advance!

BTW, I'm using XeTeX and LaTeX at the same time... if this bit of information is helpful...


EDIT:

Apparently my font doesn't have a % glyph... and now I feel like a total dork for not coming to that conclusion sooner.


2
  • Please post a full minimal example (starting \documentclass and ending \end{document}) – Joseph Wright Feb 19 '11 at 9:19
  • Okay, I've added that. – Miriam Feb 19 '11 at 10:27
5

This minimal example

\documentclass[a4paper]{article}
\usepackage{fontspec} 
\begin{document}
\fontspec[]{Minion Pro} As 1\% RF = 1 cM, two genes which lie 100 cM apart should have a recombination frequency of 100\%
\end{document}

gives the expected output. I am guessing that your Architects Daughter font does not have a % glyph. Check it's character map at Font Squirrel.

1
  • 1
    You are very right... I should have checked that first! Thanks for help! – Miriam Feb 19 '11 at 10:42

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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