I need a command that replaces its contents by white space of the same size. Unlike \phantom it should work paragraphs and/or images. It should do more or less the same as the \visible command of the beamer package when applied to a non-specified overlay number.
Looking at the source of the beamer package did not help me because I could not isolate my issue from the rest.
Any suggestions?