-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathroute_signal_token.tex
More file actions
50 lines (41 loc) · 2.97 KB
/
route_signal_token.tex
File metadata and controls
50 lines (41 loc) · 2.97 KB
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
%!TEX TS-program = pdflatexmk
% Copyright 2021 Martin Scheidt (Attribution 4.0 International, CC-BY 4.0)
% You are free to copy and redistribute the material in any medium or format. You are free to remix, transform, and build upon the material for any purpose, even commercially. You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may not apply legal terms or technological measures that legally restrict others from doing anything the license permits. No warranties are given.
\documentclass{beamer}
\usepackage[
size=a4,
]{beamerposter}
\beamertemplatenavigationsymbolsempty
\def\ROOT{./..}
\usepackage{material}
\newlength{\tokenradius}\setlength{\tokenradius}{1cm} % default 1cm
\newlength{\tokenheight}\setlength{\tokenheight}{2cm} % default 2cm
\tikzset{
pics/route_signal_go_token/.style args={#1}{
code={
% signal aspect
\draw[fill=#1] (0,0) circle [radius=\tokenradius]; % signal aspect
\draw[double] (-\tokenradius,0) -- ++(2\tokenradius,0); % signal aspect
% corpus
\draw[fill=base1!50] (\tokenradius,1.5\tokenradius) rectangle ++(6.283186\tokenradius,\tokenheight);
% adhesive edge
\tikzset{every path/.style={thin,base1}}
\draw (\tokenradius,1.5\tokenradius) -- ++(-0.5\tokenheight,0.25\tokenheight) -- ++(0,0.5\tokenheight) -- ++(0.5\tokenheight,0.25\tokenheight);
\draw (\tokenradius,1.5\tokenradius) -- ++(0.241661\tokenradius,-0.5\tokenheight) -- ++(0.241661\tokenradius,0.5\tokenheight) -- ++(0.241661\tokenradius,-0.5\tokenheight) -- ++(0.241661\tokenradius,0.5\tokenheight) -- ++(0.241661\tokenradius,-0.5\tokenheight) -- ++(0.241661\tokenradius,0.5\tokenheight) -- ++(0.241661\tokenradius,-0.5\tokenheight) -- ++(0.241661\tokenradius,0.5\tokenheight) -- ++(0.241661\tokenradius,-0.5\tokenheight) -- ++(0.241661\tokenradius,0.5\tokenheight) -- ++(0.241661\tokenradius,-0.5\tokenheight) -- ++(0.241661\tokenradius,0.5\tokenheight) -- ++(0.241661\tokenradius,-0.5\tokenheight) -- ++(0.241661\tokenradius,0.5\tokenheight) -- ++(0.241661\tokenradius,-0.5\tokenheight) -- ++(0.241661\tokenradius,0.5\tokenheight) -- ++(0.241661\tokenradius,-0.5\tokenheight) -- ++(0.241661\tokenradius,0.5\tokenheight) -- ++(0.241661\tokenradius,-0.5\tokenheight) -- ++(0.241661\tokenradius,0.5\tokenheight) -- ++(0.241661\tokenradius,-0.5\tokenheight) -- ++(0.241661\tokenradius,0.5\tokenheight) -- ++(0.241661\tokenradius,-0.5\tokenheight) -- ++(0.241661\tokenradius,0.5\tokenheight) -- ++(0.241661\tokenradius,-0.5\tokenheight) -- ++(0.241661\tokenradius,0.5\tokenheight);
}
},
pics/route_signal_go_token/.default=signalgreen,
}
\begin{document}
\selectlanguage{english} % currently supported: english, ngerman
\tikzset{every path/.style={ultra thick}}
\begin{frame}
\vfill
\begin{tikzpicture}[font=\sffamily]
\foreach \x in {0,9.5,19}
\foreach \y in {0,5,10,15}
\pic at (\x,\y) {route_signal_go_token};
\end{tikzpicture}
\vfil
\end{frame}
\end{document}