-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtileDraw.sty
More file actions
34 lines (24 loc) · 740 Bytes
/
Copy pathtileDraw.sty
File metadata and controls
34 lines (24 loc) · 740 Bytes
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
\newcommand{\inM}{\mathop{\,\begin{tikzpicture}[baseline]
\draw[>-,line width=0.35mm] (0,0.25) -- (0,0);
\end{tikzpicture}\,}%
}
\newcommand{\blue}{}
\newcommand{\outM}{\mathop{\,\begin{tikzpicture}[baseline]
\draw[->,line width=0.35mm] (0,0.25) -- (0,0);
\end{tikzpicture}\,}}
\newcommand\inE[5]{
\node (xxx) at (#1,#2) {$\bullet$};
{\blue
\node (yyy) at (#1+#3,#2+#4) {\scriptsize #5};
\draw[-<,line width=0.5mm] (xxx) -- (yyy);%
}%
}
\newcommand\outE[5]{
\node (xxx) at (#1,#2) {$\bullet$};
{\blue
\node (yyy) at (#1+#3,#2+#4) {\scriptsize #5};
\draw[->,line width=0.5mm] (xxx) -- (yyy);%
}%
}
\newcommand{\xscale}{0.7}
\newcommand{\yscale}{0.7}