Comprehensive TeX Archive Network

ifpdf – Provides the \ifpdf conditional

This pack­age looks for pdfTeX in pdf mode and im­ple­ments and sets the switch \if­pdf. The de­tec­tion is based on the value of \pdfout­put (which the pack­age will not change). The pack­age works with plain or LaTeX for­mats. To use it with LaTeX sim­ply \usep­a­ck­age{if­pdf}. Then use \if­pdf ... \else ... \fi.

Ver­sion3.1 2016-05-14
Li­censeThe LaTeX Project Public Li­cense 1.3
Main­tainerHeiko Oberdiek
TDS archiveoberdiek.tds.zip
Con­tained inTeX Live as oberdiek
MiKTeX as oberdiek
Topics ex­am­ine the TeX pro­gram­ming en­vi­ron­ment
Guest Book Sitemap Contact Contact Author