CTAN Comprehensive TeX Archive Network

Directory macros/latex/contrib/comment

- comment.sty : LaTeX comment style
- comment_plain.tex : plain TeX version, no longer maintained
- comment.{tex,pdf} : description of how the style works

- comm_test.tex : illustrative test
- t1test.tex : test of T1 non-ascii characters

Download the contents of this package in one zip archive (531.8k).

comment – Selectively include/exclude portions of text

Selectively include/exclude pieces of text, allowing the user to define new, separately controlled, comment versions. All text between \comment ... \endcomment or \begin{comment} ... \end{comment} is discarded. The opening and closing commands should appear on a line of their own. No starting spaces, nothing after it. This environment should work with arbitrary amounts of comment, and the comment can be arbitrary text.

Other ‘comment’ environments are defined and selected/deselected with \includecomment{versiona} and \excludecoment{versionb} These environments are used as \versiona … \endversiona or \begin{versiona} … \end{versiona} with the opening and closing commands again on a line of their own.

LicensesGNU General Public License, version 2
MaintainerVictor Eijkhout
Contained inTeX Live as comment
MiKTeX as comment
TopicsConditional compilation
Guest Book Sitemap Contact Contact Author