[texhax] ifthen functionality for plain TeX

Aditya Mahajan adityam at umich.edu
Tue Aug 5 00:35:57 CEST 2008

On Mon, 4 Aug 2008, Eduardo M KALINOWSKI wrote:

> Alexander Grahn wrote:
>> Hi,
>> is there a way to get the functionalty of the LaTeX package `ifthen' in
>> TeX too? I am particularly interested in negating and combining boolean
>> expressions using \NOT, \AND, \OR.
>> It is surprising that TeX doesn't provide this functionality by itself,
>> as building complex conditional expressions is quite a common task and
>> even the most ancient and most primitive higher programming languages
>> provide the means for doing such things.
> TeX is not a programming language. :-)  (Though many people have used it
> as one.)

Well if you can program a Mars rover in TeX, you can do almost anything 



More information about the texhax mailing list