>
> 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
--
به نام خداوند جان و خرد کزین برتر اندیشه برنگذرد
--------------------------------------------------
Subscriptions, Archive, and List information, etc.:
http://tug.org/mailman/listinfo/xetex