1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
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\snaptodoexample{%
\pgfmathtruncatemacro\wc{round(1+rnd*10)}%
\snaptodo{%
\foreach\w in{1,...,\wc}{%
\pgfmathsetmacro\l{1+rnd*10}%
\rule{\l pt}{1ex}
}%
},
}
\catcode`\,=\active
\let,=\snaptodoexample
\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}
|