ifpdf – Provides the \ifpdf conditional
This package looks for pdfTeX in pdf mode and implements and sets the switch \ifpdf. The detection is based on the value of \pdfoutput (which the package will not change). The package works with plain or LaTeX formats. To use it with LaTeX simply \usepackage{ifpdf}. Then use \ifpdf ... \else ... \fi.
The package has been integrated into the iftex bundle.
Sources | /macros/generic/iftex |
Documentation | |
Bug tracker | https://github.com/latex3/iftex/issues |
Repository | https://github.com/latex3/iftex |
Version | 3.4 2019-10-25 |
Licenses | The LaTeX Project Public License 1.3c |
Copyright | 2001, 2005–2011 Heiko Oberdiek 2016–2017 Heiko Oberdiek and LaTeX3 project |
Maintainer | The LaTeX Project Team Heiko Oberdiek (inactive) |
TDS archive | iftex.tds.zip |
Contained in | TeX Live as iftex MiKTeX as iftex |
Topics | Environment query |
Download the contents of this package in one zip archive (227.5k).
Suggestions
Maybe you are interested in the following packages as well.
Community Comments