In other words, I'd like to have the comment environment of the verbatim package "inverted". I am pretty sure I read about some package allowing this some time ago, but I can't recall its name (nor can I Google it), and I don't want to reinvent the wheel...
Asked
Active
Viewed 504 times
6
Joseph Wright
- 259,911
- 34
- 706
- 1,036
mbork
- 13,385
2 Answers
6
OK, so I found it myself. It is the xcomment package. (From a glance at the code I suppose that it's an old, LaTeX 2.09 style file, but it seems to work fine with LaTeX2e.)
mbork
- 13,385
3
The preview package provides a preview environment and when active (active option) only displays the content in such environments. However, every environment is placed on its a page of its own, which might not what you want.
Martin Scharrer
- 262,582
commentpackage which allows you to define your own comment environments and enable or disable them. – Martin Scharrer May 19 '11 at 17:11