1
1
\immediate\write18{tex spath.dtx}
2
2
\immediate\write18{tex knots.dtx}
3
\documentclass{article}
8
\node (A) at (0,4) [draw,minimum width=30pt,minimum height=10pt,thick] {};
10
% draft mode=crossings,
11
background colour=red,
13
% consider self intersections,
15
\strand [thick,knot/only when rendering/.style={dashed}] (0,0)
16
to [out=up, in=down] (-1,1)
17
to [out=up, in=down] (0,2)
18
to [out=up, in=down] (-1.2,4)
19
to [out=up, in=down, looseness=0.7] (0,5.5)
20
to [out=up, in=down] (-2,7);
21
\strand [thick] (-1,0)
22
to [out=up, in=down] (1,2)
23
to [out=up, in=down] (A.south);
25
to [out=up, in=down] (-1,2)
26
to [out=up, in=down] (1.5,4)
27
to [out=up, in=right] (0,5.5)
28
to [out=left, in=up] (-2,4)
29
to [out=down, in=up] (-2,0);
30
\strand [thick] (A.150)
31
to [out=up, in=down] (0.7,5.5)
32
to [out=up, in=down] (0,7);
33
\strand [thick] (A.30)
34
to [out=up, in=down] (-1,6)
35
to [out=up, in=down] (2,7);
36
\flipcrossings{6,2,9,5,11}
3
41
%% \documentclass{article}
4
42
%% \usepackage{tikz}
5
43
%% \usepackage{knots}
173
211
%\documentclass[border=10]{standalone}
174
\documentclass{article}
179
\node (A) at (0,4) [draw,minimum width=30pt,minimum height=10pt,thick] {};
181
% draft mode=crossings,
182
background colour=red,
184
% consider self intersections,
186
\strand [thick,knot/only when rendering/.style={dashed}] (0,0)
187
to [out=up, in=down] (-1,1)
188
to [out=up, in=down] (0,2)
189
to [out=up, in=down] (-1.2,4)
190
to [out=up, in=down, looseness=0.7] (0,5.5)
191
to [out=up, in=down] (-2,7);
192
\strand [thick] (-1,0)
193
to [out=up, in=down] (1,2)
194
to [out=up, in=down] (A.south);
195
\strand [thick] (1,0)
196
to [out=up, in=down] (-1,2)
197
to [out=up, in=down] (1.5,4)
198
to [out=up, in=right] (0,5.5)
199
to [out=left, in=up] (-2,4)
200
to [out=down, in=up] (-2,0);
201
\strand [thick] (A.150)
202
to [out=up, in=down] (0.7,5.5)
203
to [out=up, in=down] (0,7);
204
\strand [thick] (A.30)
205
to [out=up, in=down] (-1,6)
206
to [out=up, in=down] (2,7);
207
\flipcrossings{6,2,9,5,11}
212
212
\begin{tikzpicture}
213
213
\begin{knot}[knot/draft mode]
214
214
\strand[red,ultra thick] (0,0) .. controls +(1,0) and +(-1,0) .. ++(2,-1) .. controls +(1,0) and +(-1,0) .. ++(2,1) .. controls +(1,0) and +(-1,0) .. ++(2,-1) .. controls +(1,0) and +(-1,0) .. ++(2,1);