[XeTeX] Problem changing default fonts
Vafa Khalighi
vafakhlgh at gmail.com
Sun Oct 3 10:14:00 CEST 2010
>
> This should not be too complicated...
>
> \ifxetex
> <font setup for XeTeX use>
> \fi
> \ifpdf
> <font setup for pdfTeX use>
> \fi
> \textsc{Small or Big Caps?}
>
>
Use iftex package, in which I am going to add \ifdvi, \ifps, \ifpdf and
support for vtex in the next version. (one single package that inculdes
conditionals for every single engine and mode)
\usepackage{iftex}
\ifXeTeX
<font setup for XeTeX use>
\else
\ifLuaTeX
<font setup for LuaTeX use>
\else
\ifPDFTeX
<font setup for pdfTeX use>
\fi\fi\fi
--
به نام خداوند جان و خرد کزین برتر اندیشه برنگذرد
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/xetex/attachments/20101003/60fb821a/attachment-0001.html>
More information about the XeTeX
mailing list