Possible Duplicate:
How to replace a large block of text by an empty block of the same size?
A friend of mine is preparing some teaching materials. In the version for the lecturer there will be proofs, solutions etc. In the version for students, such parts should be omitted. But he wants the page numbers to match, so it would probably be best to leave blank spaces where the proofs/solutions are in the "lecturer" version. Setting text color to white is a bad idea, since the text is still there and can be copypasted or exported. Is there any better solution?
One that comes to my mind is to put the relevant portions into a box, set width/height/depth of a void box to its dimensions and put it there; the obvious drawback is that a box can't be split between pages.
Another one is converting the whole document to bitmaps; it's rather short, so this is indeed a viable option (however stupid it may seem).
I was wondering, though, whether there is a ready-made solution to such a problem, so that we won't reinvent the wheel.
Note: I know this is not going to be beautiful. Aesthetics is not the point of my question, but I'd equally welcome other (than huge blank spaces) solutions to the general problem of somehow "interlinking" two versions of a document, one of which is an abridged version of the other (and hyperlinking etc. is not an option, since this is going to be printed).
Note 2: I'd also be thankful for suggestions of some meaningful tags for this question;).
\raggedbottom. However, I don't know how to achieve this... – yo' Sep 25 '12 at 11:45\phantommacro. For a version allowing breaking it is probably worth looking at (or simply using?) the beamer package layering mechanism if you produce the full document then flick a switch to activate some<1>markup then beamer seems OK making slides with missing text that line up when the text is added. – David Carlisle Sep 25 '12 at 11:49\newpageif necessary. – yo' Sep 25 '12 at 11:54\phantom(in fact,\vphantomwould probably suffice). I was thinking about "thebeamer's way", I'll have to look into it. – mbork Sep 25 '12 at 11:58\synchrocommand that you can issue whenever you want (and inside each "Document element" of course). I might look into it now. – yo' Sep 25 '12 at 12:02