-
Notifications
You must be signed in to change notification settings - Fork 0
/
tikzcommands.tex
103 lines (90 loc) · 2.86 KB
/
tikzcommands.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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
\def\tikzTurbine{%
{$\otimes$}\xspace%
}
\def\tikzSubstation{%
{\protect\tikz\protect%
\filldraw[fill=SUBSTATION,draw=SUBSTATION] rectangle (5pt,5pt);%
}\xspace%
}
\def\tikzVertex{%
{\protect\tikz\protect%
\draw[line width=1pt,fill=white,draw=KITblack70] (0,0) circle (1ex);%
}\xspace%
}
\def\tikzKclConflictMarker{%
{\protect\tikz\protect%
% \filldraw[fill=SUBSTATION,draw=SUBSTATION] rectangle (5pt,5pt);%
% \draw[style=dashed] (2,.5) circle (0.5);%
\draw[fill=ColorKclConflictMarker!50,draw=ColorKclConflictMarker] (0,0)
circle (1ex);%
}\xspace%
}
\def\tikzSusceptanceScaling{%
{\protect\tikz\protect%
\draw[fill=ColorSusceptanceScalingMarker!50,draw=ColorSusceptanceScalingMarker] (0,0)
circle (1ex);%
}\xspace%
}
\def\tikzStandardVertex{%
{\protect\tikz\protect%
\fill[KITblack70] (0.5ex,0.5ex) circle (0.5ex);%
}\xspace%
}
\def\tikzPolytopePoint{%
{\protect\tikz\protect%
\draw[line width=1pt,fill=KITlilac70,draw=KITlilac70,fill opacity=0.2]
(0.5ex,0.5ex) circle (0.5ex);%
}\xspace%
}
\def\tikzPolytopeLine{%
{\protect\tikz\protect%
\draw[line width=1pt,draw=KITpalegreen70,fill opacity=1.0, dashed, line
cap=round, align=center]
(0ex,0ex) -- (3.5ex,0ex);%
}%
}
\def\tikzStandardVertexDual{%
{\protect\tikz\protect%
\fill[DUALGRAPH] (0.5ex,0.5ex) circle (0.5ex);%
}\xspace%
}
\def\tikzPCC{%
{\protect\tikz\protect%
\fill[black] (0.5ex,0.5ex) circle (0.7ex);%
}\xspace%
}
\DeclareRobustCommand\tikzTransportCable{
\begin{tikzpicture}[inner sep=0pt]%
% bottom
\filldraw[fill=KITblack,draw=KITblack,rounded corners=1.25pt]
(0pt,0pt) rectangle (9pt,2.5pt);%
% middle
\filldraw[fill=KITblack70,draw=KITblack70,rounded corners=0.75pt]
(0pt,3.5pt) rectangle (9pt,5pt);%
% top
\filldraw[fill=KITblack50,draw=KITblack50,rounded corners=0.375pt]
(0pt,6pt) rectangle (9pt,6.75pt);%
\end{tikzpicture}\xspace%
}
\DeclareRobustCommand\tikzOneTransportCable{
\begin{tikzpicture}[inner sep=0pt]%
% bottom
\filldraw[fill=white,draw=white,rounded corners=1.25pt]
(0pt,0pt) rectangle (9pt,1.5pt);%
% middle
\filldraw[fill=KITblack,draw=KITblack,rounded corners=1.25pt]
(0pt,2pt) rectangle (9pt,4.5pt);%
\end{tikzpicture}\xspace%
}
\DeclareRobustCommand\tikzTransmissionCable{
% \tikz \fill[black] (1ex,1ex) circle (1ex);
\begin{tikzpicture}[inner sep=0pt]%
% bottom
\filldraw[fill=white,draw=white,rounded corners=1.25pt]
(0pt,0pt) rectangle (9pt,1.5pt);%
% middle
\filldraw[fill=KITseablue,draw=KITseablue,rounded corners=1.25pt]
(0pt,2pt) rectangle (9pt,4.5pt);%
\end{tikzpicture}\xspace%
}
\makeatother