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.
Sources | /macros/generic/iftex |
Documentation | |
Bug tracker | https://github.com/latex3/iftex/issues |
Repository | https://github.com/latex3/iftex |
Version | 1.0g 2024-12-12 |
Licenses | The LaTeX Project Public License 1.3c |
Maintainer | The LaTeX Project Team Vafa Khalighi (inactive) |
TDS archive | iftex.tds.zip |
Contained in | TeX Live as iftex MiKTeX as iftex |
Topics | Generic Macros Environment query |
See also | ifluatex ifxetex ifetex ifpdf ifvtex |
Download the contents of this package in one zip archive (227.5k).
Announcements
Suggestions
Maybe you are interested in the following packages as well.
Community Comments