[texhax] If ... else

Clifford Weil weil at math.msu.edu
Sat Mar 7 18:03:19 CET 2015

I need to add an \if … else command to a class file I’ve written. The purpose is to determine how to enter a \addcontentsline command depending on whether or not hyperref has been loaded. What is the syntax for that \if … else command.

Thank you,

Clifford E. Weil
Professor Emeritus 
Department of Mathematics
Michigan State University
East Lansing, MI, 48824-1027

More information about the texhax mailing list