[texhax] Ignoring some texts
uwe.lueck at web.de
Sat Jul 18 12:00:56 CEST 2009
wono at math.itb.ac.id schrieb am 18.07.2009 07:38:43:
> I have the tex file.
> ... text before
> some texts
> text following ...
> How can I change the definition of "solution" environment such that the
> text inside environment doesn't display in the dvi file.
> But in other parts I will use it
I guess you want to have a list of exercises and their solutions, and you want to have a printout *without* solutions and one *with* the solutions.
My versions.sty has been used for this. In the document preamble, you mark environments to be included or to be excluded.
The UK TeX FAQ discusses many other packages for related tasks:
Hope it helps
More information about the texhax