<div dir="ltr"><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br>
Note that \ifpdf checks for PDF output, and doesn't have to be true whenever pdfTeX is used. Better<br></blockquote><div><br>iftex provides \ifPDFTeX<br> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br>
\ifxetex<br>
<font setup for XeTeX><br>
\else<br>
\ifluatex<br>
<font setup for LuaTeX><br>
\else<br>
<font setup for pdfTeX><br>
\fi<br>
\fi<br>
<br>
<br></blockquote><div><br>No, what happens if you use some other engines? ptex or vtex? <br></div></div><br><br clear="all"><br>-- <br><div dir="ltr"><div dir="rtl">به نام خداوند جان و خرد کزین برتر اندیشه برنگذرد<br>
<br></div></div><br>
</div>