CTAN Comprehensive TeX Archive Network

Direc­tory macros/latex/contrib/xifthen

This package implements new commands to go within the first argument of
\ifthenelse to test whether a string is void or not, if a command is
defined or equivalent to another. It includes also the possibility to make
use of the complex expressions introduced by the package calc, together
with the ability of defining new commands to handle complex tests. This
package requires the e-TEX features.

What's new

-  \cnttest and \dimtest now accept <= and >= comparisons.
-  I renames \terminateswith in \endswith.

-  Corrected a bug with \newtest

-  Removed a spurious space in the code.

- Removed the reliance on the \cmd{etex} package, following an exmail
  exchange with David Carlisle and Maïeul Rouquette.  (I also updated
  the documentation and pushed the files on GitHub.)
This material is subject to the LaTeX Project Public License.
See http://www.ctan.org/tex-archive/help/Catalogue/licenses.lppl.html
for the details of that license.

Down­load the con­tents of this pack­age in one zip archive (471.2k).

xifthen – Ex­tended con­di­tional com­mands

This pack­age ex­tends the ifthen pack­age by im­ple­ment­ing new com­mands to go within the first ar­gu­ment of \ifthenelse: to test whether a string is void or not, if a com­mand is de­fined or equiv­a­lent to an­other. The pack­age also en­ables use of com­plex ex­pres­sions as in­tro­duced by the pack­age calc, to­gether with the abil­ity of defin­ing new com­mands to han­dle com­plex tests.

Li­censesThe Project Public Li­cense
Main­tainerJos­selin Noirel
Con­tained inTeX Live as xifthen
MiKTeX as xifthen
TopicsMacro sup­port
Con­di­tional com­pi­la­tion
See alsoifthen
Guest Book Sitemap Contact Contact Author