I'm defining a command that should behave differently in handouts vs presentation. Is there a simple way to check that?
Ideally, it should be something like this:
\newcommand{\mycom}{
\ifthenelse{[check if handout mode]}{[Behave accordingly]}{[Behave otherwise]}
}
How can I do this?