CTAN Comprehensive TeX Archive Network

Directory macros/latex/contrib/xifthen

README
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

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

v1.2
-  Corrected a bug with \newtest

v1.3
-  Removed a spurious space in the code.

v1.4.0
- 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.

Download the contents of this package in one zip archive (471.2k).

xifthen – Extended conditional commands

This package extends the ifthen package by implementing 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. The package also enables use of complex expressions as introduced by the package calc, together with the ability of defining new commands to handle complex tests.

Packagexifthen
Version1.4.0
LicensesThe Project Public License
MaintainerJosselin Noirel
Contained inTeX Live as xifthen
MiKTeX as xifthen
TopicsMacro support
Conditional compilation
See alsoifthenx
ifthen
...
Guest Book Sitemap Contact Contact Author