Comprehensive TeX Archive Network

Direc­tory tex-archive/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.


Name Size Date Notes
README 977 2015-11-23 11:27
xifthen.pdf 476484 2015-11-23 11:27
xifthen.sty 5689 2015-11-23 11:27
xifthen.tex 17608 2015-11-23 11:27

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.

Pack­age De­tailsxifthen
Li­censeThe LaTeX Project Public Li­cense
Main­tainerJos­selin Noirel
Con­tained inTeX Live as xifthen
MiKTeX as xifthen
Topics con­di­tional type­set­ting
sup­port for de­vel­op­ment of (La)TeX macros
See also ifthenx
Guest Book Sitemap Contact Contact Author