## comment environment

### comment environment

I am trying to devise an environment for temporarily commenting out
large blocks of text from within LaTeX.

I currently have
\newcommand{\COMMENT}[1]{}
which allows me to wrap \COMMENT{ ... } around lots of stuff.

What I'd prefer is \begin{COMMENT} ... \end{COMMENT}.

Does anyone know how to do this?

Thanks.

### comment environment

Quote:>I am trying to devise an environment for temporarily commenting out
>large blocks of text from within LaTeX.

>I currently have
>\newcommand{\COMMENT}[1]{}
>which allows me to wrap \COMMENT{ ... } around lots of stuff.

>What I'd prefer is \begin{COMMENT} ... \end{COMMENT}.

Thanks to Paul Howard of Brown Univ, I found my answer in lowercase in
verbatim.sty.

I have recently written a Logo (turtle graphics) interpreter to output
PSTricks code for LaTeX documents.  It's still rather rough around the
edges in terms of usability.  Currently it outputs the PSTricks code to a
separate file. Then I must manually copy this code into my LaTeX document.

I would like the following functionality:

o) The user puts the TeXLogo code directly in the LaTeX document, within
some special environment.
o) The user then runs TeXLogo on the document to create a separate file
containing everything, minus the Logo, plus the generated PSTricks code.
o) If LaTeX is run on the original document containing the TeXLogo code,
it just ignores everything in the special Logo environment.

So I guess I'm looking for a "comment" environment, or something like
that.

Does such an environment exist?  If not, can someone suggest how it might
be created?  It seems like such a thing would be easy to implement.

Thank you,
Greg Harfst