iftex – Am I running under pdfTeX, X∃TeX or LuaTeX?
The package, which works both for Plain TeX and for LaTeX, defines
the \ifPDFTeX, \ifX∃TeX, and \ifLuaTeX
conditionals for testing which engine is being used for
typesetting.
The package also provides the \RequirePDFTeX,
\RequireX∃TeX, and \RequireLuaTeX commands which
throw an error if pdfTeX, X∃TeX or LuaTeX (respectively) is not
the engine in use.
| CTAN path | /macros/latex/contrib/iftex |
|---|---|
| Documentation |
Readme Package documentation |
| Home page | https://github.com/persian-tex/iftex |
| Version | 0.2 |
| License | The LaTeX Project Public License 1.3 |
| Copyright | 2010 Vafa Khalighi 2010 Persian TeX Group |
| Maintainer | Vafa Khalighi Persian TeX Group |
| Contained in | TeXLive as iftex |
| MiKTeX as iftex | |
| Topics |
examine the TeX programming environment |
| See also |
ifluatex ifpdf |
