diff options
author | Karl Berry <karl@freefriends.org> | 2006-01-09 00:44:40 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2006-01-09 00:44:40 +0000 |
commit | b4fc5f639874db951177ec539299d20908adb654 (patch) | |
tree | 52f08823ca58fffe3db6a9b075635038c567626c /Master/texmf-dist/doc/latex/comment | |
parent | dec3d98ebe442d7ea93efbaa8dd2e2be8149a467 (diff) |
doc 4
git-svn-id: svn://tug.org/texlive/trunk@80 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/comment')
-rw-r--r-- | Master/texmf-dist/doc/latex/comment/comm_test_l.tex | 78 |
1 files changed, 78 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/comment/comm_test_l.tex b/Master/texmf-dist/doc/latex/comment/comm_test_l.tex new file mode 100644 index 00000000000..ac9778b1763 --- /dev/null +++ b/Master/texmf-dist/doc/latex/comment/comm_test_l.tex @@ -0,0 +1,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} |