iftex
Am I running under pdfTeX, XeTeX or LuaTeX?
- Version:
- 1.0g
- Copyright:
- License:
- lppl1.3c
- Packaged on:
- 12/15/2024 13:38:19
- Number of files:
- 6
- Size on disk:
- 10.77 kB
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.