%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /proc/985914/root/data/old/usr/share/texlive/texmf-dist/doc/latex/comment/
Upload File :
Create Path :
Current File : //proc/985914/root/data/old/usr/share/texlive/texmf-dist/doc/latex/comment/comm_latest.tex

% An illustration of comment.sty by Victor Eijkhout,
% version 3.4 and later.
%
% For use with LaTeX2.09, and LaTeX2e in compatibility mode.
%
\documentstyle{article}
\begin{document}

\input comment.sty

\includecomment{thisone}
\excludecomment{notthisone}

This sentence
\begin{comment}
has
\end{comment}
no verb.

Check for\begin{notthisone}
superfluous
\end{notthisone}
spaces (there should be none between `for' and `spaces'),
and around
\begin{thisone}
inclusion
\end{thisone}
of proper texts (one space between `around' and `inclusion',
and one between `inclusion' and `of').

Als check for
\begin{thisone}
multiple paragraphs.

Such as
\end{thisone}
here. (`Such as' should be a new paragraph.)

% a test of the special comments
\specialcomment{smallfry}{\begingroup\rmfamily\footnotesize}{\endgroup}
%\tracingmacros=2 \tracingcommands=2
This text is 
\begin{smallfry}
rather small
\end{smallfry}
don't you think? (The `rather small' should be footnotesize.)

And now we disable
\excludecomment{smallfry}
\begin{smallfry}
the special comment
\end{smallfry}
environment
(in between `disable' and `environment' is some excluded material).

% test of weird grouping
We switch to
\begin{thisone}
\bf bold face
\end{thisone}
inside \rm a comment. (The phrase `bold face inside' should be bold.)

\newcount\comlines
\processcomment{countedcomment}
 {\comlines=0\relax
  \def\ThisComment##1{\global\advance\comlines1\relax}}
 {}{**Comment: \number\comlines\ line(s) removed**}

This is a line of text
\begin{countedcomment}
Oneline
\end{countedcomment}
another line of text
\begin{countedcomment}
One line
Two line
Three line
\end{countedcomment}
last line of text.

\end{document}

Zerion Mini Shell 1.0