6

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...

Joseph Wright
  • 259,911
  • 34
  • 706
  • 1,036
mbork
  • 13,385

2 Answers2

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