[texhax] Making a condition in LaTeX (if..., then..., else)

Martin Heller mr_heller at yahoo.dk
Mon Oct 2 11:23:13 CEST 2006


HRE skrev:

> If the Package "pack.sty" exists, then include it in the main document 
> .tex "\include{pack.sty }".
> Else, ignore it.

\IfFileExists{pack.sty}
   {\usepackage{pack}}
   {\message{Package pack.sty was not found.}}




More information about the texhax mailing list