CTAN Comprehensive TeX Archive Network

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.

Sources/macros/latex/contrib/comment
Documentation
Version3.8
LicensesGNU General Public License, version 2
MaintainerVictor Eijkhout
Contained inTeX Live as comment
MiKTeX as comment
TopicsEditorial
Conditional compilation

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

Community Comments

Loading...

Announcements

Here you can see a respective diagram in newer browsers.

more

Guest Book Sitemap Contact Contact Author