[XeTeX] Problem changing default fonts
Philipp Stephani
st_philipp at yahoo.de
Sun Oct 3 12:15:00 CEST 2010
Am 03.10.2010 um 10:07 schrieb Peter Dyballa:
>
> Am 02.10.2010 um 17:02 schrieb Drébon:
>
>> Now, I am just searching for a replacement police for helvet that support smallcaps (and to understand what was I intending to do with the problematic \renewcommand*\sfdefault{ugq})
>
>
> This should not be too complicated...
>
> \ifxetex
> <font setup for XeTeX use>
> \fi
> \ifpdf
> <font setup for pdfTeX use>
> \fi
Note that \ifpdf checks for PDF output, and doesn't have to be true whenever pdfTeX is used. Better
\ifxetex
<font setup for XeTeX>
\else
\ifluatex
<font setup for LuaTeX>
\else
<font setup for pdfTeX>
\fi
\fi
More information about the XeTeX
mailing list