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 want to change font style in my presentation. I prefere Liberation Serif font. This is TrueType font so use XeLaTeX program. I tried to set this font using \usepackage{fontspec} and \setmainfont{Liberation Serif}, but font in my document does not change. How i can solve this problem?

share|improve this question
up vote 18 down vote accepted

By default, beamer uses sans serif font, so \setmainfont will do nothing. You have to tell it that you want serif fonts:

\usefonttheme{professionalfonts} % using non standard fonts for beamer
\usefonttheme{serif} % default family is serif
\setmainfont{Liberation Serif}

share|improve this answer
Thanks for answer. – Pavel Morozkin Oct 28 '12 at 16:48

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.