diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/comment/comm_bug.tex')
-rw-r--r-- | Master/texmf-dist/doc/latex/comment/comm_bug.tex | 32 |
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} |