blob: ac9778b1763a93b47f22305a333298837cec6a47 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
|
% An illustration of comment.sty by Victor Eijkhout.
% This file belongs to comment.sty version 3.0 or later,
% it is meant to be used with LaTeX
\documentstyle[comment]{article}
\begin{document}
\excludecomment{begone}
\includecomment{thisone}
\excludecomment{notthisone}
% under development \leveledcomment{maybethis}{1}
\parskip=20pt
This sentence
\begin{comment}
has
\end{comment}
no verb.
Check for\begin{notthisone}
superfluous
\end{notthisone}
spaces, and
\begin{thisone}
inclusion
\end{thisone}
of proper texts.
% a test of the special comments
\newcount\comlines
\processcomment{countedcomment}
{\comlines=0\relax
\def\ThisComment##1{\global\advance\comlines1\relax}}
{}{\endgraf **Comment: \number\comlines\ line(s) removed**\endgraf}
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
Let's test paragraphs:
\begin{notthisone}
This one is missing.
As is this one.
\end{notthisone}
For starters.
On the other hand:
\begin{thisone}
This is one is present.
As is this one.
\end{thisone}
And that's it.
\begin{comment} % future project
\maybethis 0
Level zero.
\endmaybethis
\maybethis 1
Level one.
\endmaybethis
\maybethis 2
Level two.
\endmaybethis
\end{comment}
\end{document}
|