summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/comment/comm_bug.tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2016-08-25 23:02:05 +0000
committerKarl Berry <karl@freefriends.org>2016-08-25 23:02:05 +0000
commitb4ca047b96a502350b025c4541bc5d479b2f86f3 (patch)
treeebab119783c535c852bcae9886832cae878436b5 /Master/texmf-dist/doc/latex/comment/comm_bug.tex
parentfea2f0eb388007dabe52654e6355a8448c929e55 (diff)
comment (25aug16)
git-svn-id: svn://tug.org/texlive/trunk@41927 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/comment/comm_bug.tex')
-rw-r--r--Master/texmf-dist/doc/latex/comment/comm_bug.tex32
1 files changed, 32 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/comment/comm_bug.tex b/Master/texmf-dist/doc/latex/comment/comm_bug.tex
new file mode 100644
index 00000000000..f0e8473b044
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/comment/comm_bug.tex
@@ -0,0 +1,32 @@
+\documentclass[12pt]{article}
+
+\usepackage{comment}
+\excludecomment{conditional}
+
+\specialcomment{redcomment}{\begingroup\em\Large}{\endgroup\tiny}
+
+\begin{document}
+
+plain text.
+
+\newcommand{\Redcomment}[1]{Original Definition. (#1).}
+
+\begin{conditional}
+Conditional Text.
+
+More Conditional Text in next paragraph.
+
+\renewcommand{\Redcomment}[1]{Redefinition Worked! (#1).}
+\end{conditional}
+
+\begin{redcomment}
+the first redcomment paragraph.
+
+the second redcomment paragraph.
+\end{redcomment}
+
+Because redcomment has ended, this should be tiny.
+
+\Redcomment{This is the command line version.}
+
+\end{document}