Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I found several entries about the fact that the ifthen package is obsolete. So my question is: how to define a condition check then? I have searched and I find several example for ifthenelse (contained in the ifthen) package OR the statement "ifthen package is obsolete".

share|improve this question
it is not obsolete –  Herbert May 6 '13 at 12:32
@Herbert I agree; maybe it's not the first choice any more, but it's easy and in some cases it's sufficient. Probably using xifthen in place of it is better anyway. –  egreg May 6 '13 at 13:01

1 Answer 1

up vote 6 down vote accepted

It may be considered obsolete because there exist more modern variants and the package was not updated for a long time.

See for example http://www.ctan.org/pkg/etoolbox which uses e-TeX features.

Apart from the macros in ifthenelse being fragile, if you can handle that, you can just use them, no problem.

share|improve this answer
Welcome to TeX-SX! You may have a look at our starter page for a quick intro if you wish to familiarize yourself with our format. –  Claudio Fiandrino May 6 '13 at 12:47

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.