| 1 |
\documentclass[12pt]{article} |
| 2 |
|
| 3 |
\usepackage{comment} |
| 4 |
\excludecomment{conditional} |
| 5 |
|
| 6 |
\specialcomment{redcomment}{\em\Large}{\tiny} |
| 7 |
|
| 8 |
\begin{document} |
| 9 |
|
| 10 |
plain text. |
| 11 |
|
| 12 |
\newcommand{\Redcomment}[1]{Original Definition. (#1).} |
| 13 |
|
| 14 |
\begin{conditional} |
| 15 |
Conditional Text. |
| 16 |
|
| 17 |
More Conditional Text in next paragraph. |
| 18 |
|
| 19 |
\renewcommand{\Redcomment}[1]{Redefinition Worked! (#1).} |
| 20 |
\end{conditional} |
| 21 |
|
| 22 |
\begin{redcomment} |
| 23 |
the first redcomment paragraph. |
| 24 |
|
| 25 |
the second redcomment paragraph. |
| 26 |
\end{redcomment} |
| 27 |
|
| 28 |
Because redcomment has ended, this should be tiny. |
| 29 |
|
| 30 |
\Redcomment{This is the command line version.} |
| 31 |
|
| 32 |
\end{document} |