In the future please follow board rules and provide a complete,
compiliable, minimal working example.
The \setmainfont command of XeLaTeX/fontspec sets the serif text font, but beamer uses the sans serif font by default.
Two ways to deal with this...
The most obvious way is to set Verdana as your sans font (since, after all, it
is a sans serif font):
Code: Select all
\usepackage{fontspec}
\setsansfont{Verdana}
Or if you want to be tricky, you can change beamer to use serif fonts instead, but then, oddly, choose Verdana as if it were a serif font:
Code: Select all
\usepackage{fontspec}
\usefonttheme{serif}
\setmainfont{Verdana}
You should not use the fontenc package with XeLaTeX, nor (most likely) the professionalfonts beamer font theme, nor textcomp. However, I recommend putting in:
Code: Select all
\defaultfontfeatures{Mapping=tex-text}
\usepackage{xunicode}
\usepackage{xltxtra}
The first line gives XeLaTeX support TeX conventions like ``---'' for the emdash, and `` for a double left quote, etc. xunicode gives XeLaTeX support for LaTeX character names for unicode characters (accents, international symbols, etc.) xltxtra improves odds and ends for XeLaTeX, but see the documentation, especially if you notice superscripts and subscripts having problems.