# LaTeX: selecting font with fontenc package

• LaTeX
Homework Helper
Running XeTeX from TexLive 2011 on windows, I have been using
Code:
\usepackage{fourier}
To get the Adobe Utopia font. That works fine.

For reasons irrelevant to the question, I want to use the fontenc package to select fonts. So I need to do something like
Code:
\usepackage{fontenc}
\setmainfont{ ... what goes here? }
Utopia, utopia, and Utopia-Regular don't work (lots of errors, TeX tries to build the fonts using textmf, and fails).

Searching for file names containing utopia and fourier didn't help.

The fontenc package documentation doesn't help either - it makes the assumption that if you want to use a font, you know what it's called. WRONG!!!!!

Any suggestions?

FWIW the fontenc package itself is working - a demo file using a different font (Junicode) works fine.

Related MATLAB, Maple, Mathematica, LaTeX News on Phys.org