diff options
author | Norbert Preining <norbert@preining.info> | 2021-11-25 03:00:55 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2021-11-25 03:00:55 +0000 |
commit | 943ea506edb031810b6b44d4095741f8c3500186 (patch) | |
tree | 940fa233d7add47bd298a18aa367252babfbd520 /macros/latex/contrib/snaptodo/test/before_after.tex | |
parent | c7fc5283ac51bef06ce935c59e2c247fd5a4c1ba (diff) |
CTAN sync 202111250300
Diffstat (limited to 'macros/latex/contrib/snaptodo/test/before_after.tex')
-rw-r--r-- | macros/latex/contrib/snaptodo/test/before_after.tex | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/macros/latex/contrib/snaptodo/test/before_after.tex b/macros/latex/contrib/snaptodo/test/before_after.tex new file mode 100644 index 0000000000..99552464e2 --- /dev/null +++ b/macros/latex/contrib/snaptodo/test/before_after.tex @@ -0,0 +1,39 @@ + +\documentclass{article} + +\usepackage{snaptodo} + +\begin{document} + +\marginparsep=48pt +\marginparwidth=72pt + +\section{Before todo notes} + +We the People of the United States, in Order to form a more perfect Union, +establish Justice, insure domestic Tranquility, provide for the common defence, +promote the general Welfare, and secure the Blessings of Liberty to ourselves +and our Posterity, do ordain and establish this Constitution for the United +States of America. + +\def\todoexample{% + \pgfmathtruncatemacro\wc{round(1+rnd*10)}% + \todo{% + \foreach\w in{1,...,\wc}{% + \pgfmathsetmacro\l{1+rnd*10}% + \rule{\l pt}{1ex} + }% + }, +} +\catcode`\,=\active +\let,=\todoexample + +\section{After todo notes} + +We the People of the United States, in Order to form a more perfect Union, +establish Justice, insure domestic Tranquility, provide for the common defence, +promote the general Welfare, and secure the Blessings of Liberty to ourselves +and our Posterity, do ordain and establish this Constitution for the United +States of America. + +\end{document} |