iftex
Am I running under pdfTeX, XeTeX or LuaTeX?
- Version:
- 1.0f
- Copyright:
- License:
- lppl1.3c
- Packaged on:
- 02/07/2022 19:56:31
- Number of files:
- 7
- Size on disk:
- 11.24 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.