2019-09-16 17:11:57 +02:00
%!TEX TS-program = pdflatexmk
2020-06-19 10:25:04 +02:00
% Copyright 2020 Martin Scheidt (Attribution 4.0 International, CC-BY 4.0)
2019-09-16 17:11:57 +02:00
% 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 { ./..}
\input { \ROOT /src/material_ header.tex}
\input { \ROOT /src/colors.tex}
% \input{\ROOT/src/hyperref.tex}
\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}