ads' corner

Include and exclude latex-beamer frames

For my slides I sometimes want to disable parts of the presentation, as example: if the operating system is Linux, I don’t need Solaris installation instructions. The \ifthenelse{<condition>}{...true...}{...false...} from the ifthen package works very well for normal frames, but it fails if there are examples (verbatim environment) in the code.