The TeX Catalogue Online

ifthen

Conditional commands in LaTeX documents.

The package's basic command is \ifthenelse, which can use a wide array of tests. Also provided is a simple loop command \whiledo.

Ifthen is a separate package within the LaTeX distribution; while it will always be present in a LaTeX distribution, a \usepackage command is always needed to load it.

See also xifthen.

The authors are Leslie Lamport and David Carlisle.

License: lppl Catalogued: 2009-09-29