From my experience in various forums and newsgroups,
ifthen often seems to do more harm than good, especially when used by newbies. The main
\ifthenelse command is fragile, so something like
doesn't work. The comparison is not expandable, so that the command "possibly has only limited usefulness for macro code writers" (quoted from the
ifthen manual). Plus I find the syntax quite cumbersome compared to e.g.
This is not a diss of the
ifthen package; its weaknesses are known and unavoidable because it had to be compatible to an older macro package and was written long before e-TeX was implemented. I just conclude that for many problems there exist solutions with fewer problems. If you want to use the
ifthen package, then that is fine, but you should know about its limitations.