ifx and ifthenelse - ifthenelse latex

Category

CTAN: Package ifthen ifthenelse latex


This file implements an \ifthenelse command for LATEX 2ε. The al- gorithm used is compatible with that used in the LATEX 2.09 ifthen style.

The \ifthenelse test does a token-based comparison. Thus when you do \ documentclass{article} \usepackage{ifthen} \newcommand{\foo}[1]{%.

The package's basic command is \ifthenelse, which can use a wide array of tests. Also provided is a simple Contained in, TeX Live as latex MiKTeX as ltxbase.

Two simple examples using the LaTeX 'ifthen' package.

it is used to detect whether the argument #1 is empty or not. An empty #1 would mean that \ifx sees two»&«directly after one another which.