summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/comment/comm_test_ivo.tex
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /macros/latex/contrib/comment/comm_test_ivo.tex
Initial commit
Diffstat (limited to 'macros/latex/contrib/comment/comm_test_ivo.tex')
-rw-r--r--macros/latex/contrib/comment/comm_test_ivo.tex32
1 files changed, 32 insertions, 0 deletions
diff --git a/macros/latex/contrib/comment/comm_test_ivo.tex b/macros/latex/contrib/comment/comm_test_ivo.tex
new file mode 100644
index 0000000000..8792052558
--- /dev/null
+++ b/macros/latex/contrib/comment/comm_test_ivo.tex
@@ -0,0 +1,32 @@
+\documentclass[12pt]{article}
+
+\usepackage{comment}
+\excludecomment{conditional}
+
+\specialcomment{redcomment}{\em\Large}{\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}