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, David Carlisle and The LaTeX Team.

License: lppl Version: 1.1c, dated: 2014-09-29 Catalogued: 2015-08-03