Possible Duplicate:
'Dummy' LaTeX environment
Since the explanation why on earth I need this is longer than the actual question, I begin with the latter. I would like to define an environment which has the effect that everything inside it is NOT compiled. Ideally it should be just an equivalent of commenting out everything inside; I prefer not to use frame constructions or other floats (because they mess up footnotes).
Now for the reason behind it, in case anyone cares: When writing a proof, I prefer to put every single detail in so at least I can be sure the proof is 99.9% correct once I have proofread it. Unsurprisingly, this leads to extreme bloating and I don't feel like putting pages of trivial induction bases and straightforward computations on arXiv. So I make two versions of my texts: one for verification and completeness, one for readability and publication. However, when a typo is spotted or some simplification is found, I am forced to edit both of them and to manually fine-tune things. I'd prefer to minimize this work. The obvious idea is to maintain both versions in one TeX file. Compiling each of them is then a matter of switching the semantics of one environment to "ignore" and of the other to "compile".
commentpackage is the way to go. – Martin Scharrer Apr 03 '11 at 15:03