Directory macros/latex/contrib/xcomment
README
# README # Package xcomment supports to typeset only selected environments. For example, one might want to print only a document's tables and figures, without having to enclose all the text outside these environments within comments. This package allows such selection. %% COPYRIGHT 1993-2010, by Timothy Van Zandt, tvz@Princeton.EDU (inactive) %% COPYRIGHT 2010-2024, by Herbert Voss, hvoss@tug.org %% %% This program can be redistributed and/or modified under the terms %% of the LaTeX Project Public License Distributed from CTAN archives %% in directory macros/latex/base/lppl.txt. %%
Download the contents of this package in one zip archive (66.1k).
xcomment – Allows selected environments to be included/excluded
The package defines an environment that only typesets specified environments within its scope.
So, for example, if you want nothing but the figure and table environments in your document, you can enclose the whole document with an xcomment environment that excludes everything but. This is a lot easier than excluding the chunks of text between the environments you want, or creating an entire document containing only those environments.
The package was previously part of the seminar bundle for typesetting presentations.
Package | xcomment |
Version | 1.40 2024-11-03 |
Licenses | The LaTeX Project Public License |
Copyright | 1993–2010 Timothy Van Zandt 2010–2024 Herbert Voß |
Maintainer | Herbert Voß Timothy Van Zandt (inactive) |
Contained in | TeX Live as xcomment MiKTeX as xcomment |
Topics | Conditional compilation |