-
Notifications
You must be signed in to change notification settings - Fork 0
/
example_duggarKRAHSS.tex
69 lines (63 loc) · 1.67 KB
/
example_duggarKRAHSS.tex
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
\documentclass{article}
\usepackage[landscape]{geometry}
\usepackage{sseqpages}
\begin{document}
\makeatletter
\tikzset{Zclass/.sseq style={fill=none,draw,inner sep=0.6ex},2Zclass/.style={fill=none,rectangle,draw,inner sep=0.6ex}}
\begin{sseqdata}[
name=KRAHSS,
x range={-18}{17},
y range={-10}{10},
axes style=center,
tick step=4,
x label gap=0.2cm,
y label gap=0.4cm,
classes={circle,inner sep=0.3ex,fill=black},
differentials=->,
execute at begin node=$,execute at end node=$,
degree={-1}{#1-1},
scale=0.5,
right clip padding=0.1cm,
top clip padding=0.1cm,
left clip padding=0.3cm,
bottom clip padding=0.3cm,
x axis gap=0.25cm,
y axis gap=0.25cm,
x axis extend start=0cm,
y axis extend start=0cm,
x axis extend end=0.25cm,
y axis extend end=0.25cm
]
\draw[background,xshift=-0.5cm,yshift=-0.5cm,step=1cm,gray,very thin] (\xmin+0.1,\ymin+0.1) grid (\xmax+0.7,\ymax+0.7);
\pgfmathparse{\xmax+2}
\foreach \x in {0,4,...,\pgfmathresult} {
\class[Zclass](\x,0)
\foreach \z in {0,...,\pgfmathresult} {
\class(\x+\z+1,\z+1)
\structline(\x+\z,\z)(\x+\z+1,\z+1)
}
}
\foreach \x in {4,12}{
\foreach\z in {0,...,\xmax}{
\d4(\x+\z,\z)
}
\replaceclass[2Zclass](\x,0)
}
\foreach\x in {-4,-8,...,-\pgfmathresult}{
\class[Zclass](\x,0)
\class(\x-2,0)
\foreach \z in {-1,...,-\pgfmathresult}{
\class(\x+\z-2,\z)
\structline(\x+\z-1,\z+1)(\x+\z-2,\z)
}
}
\foreach \x in {-6,-14}{
\foreach\z in {-3,...,-\xmax}{
\d4(\x+\z,\z)
}
}
\end{sseqdata}
\printpage[name=KRAHSS,page=0]
\newpage
\printpage[name=KRAHSS,page=5]
\end{document}