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.
|License||The LaTeX Project Public License 1.3|
|Copyright||2010 Persian TeX Group
|Maintainer||Zal Mehran (inactive)
|Contained in||TeX Live as iftex|
|MiKTeX as iftex|
examine the TeX programming environment
Download the contents of this package in one zip archive (31.3k).
Maybe you are interested in the following packages as well.
- ifetex: Provides \ifetex switch
- iflang: Expandable checks for the current language
- fixmath: Make maths comply with ISO 31-0:1992 to ISO 31-13:1992
- colorinfo: Retrieve colour model and values for defined colours