The TeX Catalogue Online

iftex

Am I running under pdfTeX, XeTeX or LuaTeX?

The package, which works both for Plain TeX and for LaTeX, defines the \ifPDFTeX, \ifXeTeX, and \ifLuaTeX conditionals for testing which engine is being used for typesetting.

The package also provides the \RequirePDFTeX, \RequireXeTeX, and \RequireLuaTeX commands which throw an error if pdfTeX, XeTeX or LuaTeX (respectively) is not the engine in use.

See also ifpdf ifluatex.

The author is Persian TeX Group. The package is Copyright © 2010 Persian TeX Group.

License: lppl1.3 Version: 0.2 Catalogued: 2014-04-29