texlive-iftex 51265 Determine the currently used TeX engine
This package, which works both for Plain TeX and for LaTeX, defines the
\ifLuaTeX conditionals for testing which engine is being used for typesetting. The package also provides the
\RequireLuaTeX commands which throw an error if pdfTeX, XeTeX or LuaTeX (respectively) is not the engine in use.