1
\immediate\write18{tex pgflibraryshapes.letters.dtx}
2
%\documentclass[border=10]{standalone}
3
\documentclass{article}
9
decorations.pathmorphing,
10
decorations.pathreplacing,
12
decorations.footprints,
17
\pgfmathsetmacro{\emcm}{1em/1cm}
20
% load font={stikz}{italic},
21
load font={stikz}{normal},
24
every letter/.append style={
27
sentence width=.9\textwidth,
32
\begin{tikzpicture}[every letter/.append style={path fading=west}]
33
\node[letter=A] (A) {};
34
\node[letter=b,right of previous letter,at=(A.east)] (b) {};
35
\node[letter=c,right of previous letter,at=(b.east)] (c) {};
36
\node[letter=T] (T) at (0,-3) {};
37
\node[letter=i,right of previous letter,at=(T.east)] (i) {};
38
\node[letter=k,right of previous letter,at=(i.east)] (k) {};
39
\node[letter=Z,right of previous letter,at=(k.east)] (Z) {};
44
\drawword[red]{(0,4)}{TikZ}
46
every letter/.append style={
50
text={The PGF package, where ``PGF'' is supposed to mean ``portable graphics format'' (or ``pretty, good, functiona'' if you prefer ...)}
54
every letter/.append style={
59
every letter/.append style={
61
decoration={random steps}
67
every letter/.append style={
75
every letter/.append style={
82
every letter/.append style={
89
every letter/.append style={
93
decoration={footprints}
97
\drawsentence[baseline=0pt,every node/.style={fill},/pgf/letter/size=\emcm]{
98
Shadows seem to move around you.
99
There, did you see it?
102
Of course, it was only your imagination.
103
There's nothing there, really.
104
Being a rational scientist, you tell yourself that there cannot be anything behind you.
105
But just as you convince yourself that the movements are figments of your imagination, you remember the words of Nils Bohr: "I've heard that it works even if you don't believe in it."
106
Perhaps the shadows really are there, even if you don't believe in them.
109
You know they don't exist.
110
The question is: do they know?
111
Beware the Vashta Nerada.
117
\noindent\typesetsentence[baseline=0pt,letter/size=\emcm,every node/.style={fill}]{Hello world, how are you? What happens if we go on, and on, and on?}
121
\node[draw,letter=y] (y) {};
122
\foreach \anchor in {
134
\fill (y.\anchor) circle[radius=2pt];
135
\node[above] at (y.\anchor) {\anchor};
137
\typesetword[every node/.style={draw}]{(0,-5)}{TikZ}
144
letter/sentence width=6\textwidth,
145
letter/madman quotient=0,
146
letter/every line/.style={
149
increase insanity/.code={%
150
\pgfmathsetmacro{\insanity}{\insanity + 0.1*(1 - \insanity)^2}%
151
\global\let\insanity=\insanity
152
\pgfkeys{/tikz/letter/madman quotient/.expand once=\insanity}%
157
% tex-output-type: "pdf18"