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.
|Licenses||The LaTeX Project Public License 1.3c|
|Maintainer||The LaTeX Team|
Vafa Khalighi (inactive)
|Contained in||TeX Live as iftex|
MiKTeX as iftex
Download the contents of this package in one zip archive (234.7k).
Maybe you are interested in the following packages as well.
- ifetex: Provides \ifetex switch
- iflang: Expandable checks for the current language
- tex-locale: Localisation support for TeX and LaTeX documents
- gensymb: Generic symbols for both text and math mode