Comprehensive TeX Archive Network

iftex – Am I running under pdfTeX, XTeX or LuaTeX?

The pack­age, which works both for Plain TeX and for LaTeX, de­fines the \ifPDFTeX, \ifXTeX, and \ifLuaTeX con­di­tion­als for test­ing which en­gine is be­ing used for type­set­ting.

The pack­age also pro­vides the \Re­quirePDFTeX, \Re­quireXTeX, and \Re­quireLuaTeX com­mands which throw an er­ror if pdfTeX, XTeX or LuaTeX (re­spec­tively) is not the en­gine in use.

Li­censeThe LaTeX Project Public Li­cense 1.3
Copy­right2010 Per­sian TeX Group
Main­tainerZal Mehran (in­ac­tive)
Vafa Kha­lighi
Con­tained inTeX Live as if­tex
MiKTeX as if­tex
Topics ex­am­ine the TeX pro­gram­ming en­vi­ron­ment
See also ifluatex

Down­load the con­tents of this pack­age in one zip archive (31.3k).

Guest Book Sitemap Contact Contact Author