Menu
CTAN
Comprehensive TeX Archive Network
Cover Upload Browse Search

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.

Sources/macros/latex/contrib/iftex
Doc­u­men­ta­tion
Ver­sion0.2
Li­censeThe LaTeX Project Public Li­cense 1.3
Copy­right2010 Per­sian TeX Group
Main­tainer Per­sian TeX Group
Con­tained inTeXlive as if­tex
MikTeX as if­tex
Topics ex­am­ine the TeX pro­gram­ming en­vi­ron­ment
See also ifluatex
ifpdf

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

Guest Book Sitemap Contact