This question already has an answer here:
- Conditional typesetting / build 7 answers
I'm preparing some notes, basically some theorems and their proofs.
I'd like to define a show/hidden switch, so that when it was turned on (to show) , all content are generated into the pdf; if it's turned off(to hide), another pdf is generated, with all theorems shown, but the proofs hidden.
How to do this in latex? My document class is "article".
sorry i don't know what tag shall this belongs to.