TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to use a true type font in my presentation but I cannot do that withxelatex. Pdf is created although a warning is displayed but font is not chosen one. Warning is below:

! Extended mathchar used as mathchar (104865811).
<to be read again> 
l.7 \begin{document}


A basic presentation is like below.




IS it possible to use true type fonts with beamer?

EDIT: Changing class to article produces expected result.

share|improve this question
Isn't the Ahem font a test font? I'm not sure why you would want it for your main font. Your document compiles for me. Have you tried a different TrueType font? What TeX distribution are you using? – Alan Munn Dec 16 '12 at 4:22
Try using the professionalfont theme, see tex.stackexchange.com/a/26829/86 – Loop Space Dec 16 '12 at 8:52
up vote 7 down vote accepted

There is no problem with current TeXLive 2012. However, Ahem has only 4 "characters" XPE and <space> which can already be simulated by normal square rules. Then you do not need the font at all. My working example with Ahem:


X PE \ahem X PE


enter image description here

share|improve this answer
This works like a charm. – Ricardo Cristian Ramirez Dec 16 '12 at 14:32

Your Answer


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.