On Thu, 12 Jun 2003, Juergen Spitzmueller wrote:
> You can define a switch. Write into the preamble:
> \usepackage{ifthen}
> [EMAIL PROTECTED]
> \usepackage[dvips]{color}}
>
> \newboolean{HIDE}
> \newcommand\invisible
> {\ifthenelse{\boolean{HIDE}}{\color{white}}{}}
> \newcommand\visible
> {\ifthenelse{\boolean{HIDE}}{\color{black}}{}}
>
> Then you set \unvisible at the begin and \visible at the end of those parts
> that need to be hidden.
>
> At the begin of the document, you can switch hide mode with this ERT:
> \setboolean{HIDE}{true} %% don`t print hidden text
> or
> \setboolean{HIDE}{false} %% print hidden text
Thank you, Juergen. This is quite useful.
This works for me (using \invisible instead of \unvisible).
I am not sure if it is possible, but it would be great if I could make it
smarter so the blank space could be done at the bottom of the page. Right
now, I use \invisible for my instructor notes, so the student's handouts
now have random white space. Hmmm... even though it looks strange, maybe
this is okay, since they can use that space to take hand-written notes.
Also, it would be cool if the content could be highlighted and there was a
button to toggle \invisible on and off.
Thanks again.
Jeremy C. Reed
http://bsd.reedmedia.net/