The TeX Catalogue Online


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 ifthenx.

The authors are Leslie Lamport and David Carlisle.

License: lppl Catalogued: 2012-06-08