add example
remove ifthen package, and superfluous boolean - use \@ifundefined instead
Merge pull request #7 from hannesm/remove-ifthen-dependency

Remove ifthen dependency