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 \excludecomment{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 | |
Version | 3.8 |
Licenses | GNU General Public License, version 2 |
Copyright | 1998–2016 Victor Eijkhout |
Maintainer | Victor Eijkhout |
Contained in | TeX Live as comment MiKTeX as comment |
Topics | Conditional compilation Editorial |
Download the contents of this package in one zip archive (531.8k).
Announcements
Suggestions
Maybe you are interested in the following packages as well.
Community Comments