2019-04-01 16:58:53 +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-04-01 16:58:53 +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}
\tikzset {
pics/distant_ signal_ go/.style args={ #1} {
code={
2019-09-17 15:39:18 +02:00
\iftoggle { LeftHandTraffic} {
\draw [loosely dashdotted] (0,-1) -- ( 0,0) -- ++(8,0) -- ++(0,-1);
2019-08-26 18:01:36 +02:00
2019-09-17 15:39:18 +02:00
\draw [line width=4pt] (0,0) -- ++(0,1.5) -- ++(4, 0); % signal pole
\draw [line width=4pt,fill=base1!50] (2.1,1.5) -- ++(2,-1) -- ++(0,2) -- cycle; % signal screen
\draw [fill=#1] (3.5,1.5) circle (0.5); % signal aspect
\draw [double] (3,1.5) -- ++(1.0,0); % signal aspect
\node [right] at (0.2,1) {
\IfLanguage { english} { \Large distant signal}
\IfLanguage { ngerman} { \Large Vorsignal}
} ; % label
} {
\draw [loosely dashdotted] (0,1) -- ( 0,0) -- ++(8,0) -- ++(0,1);
\draw [line width=4pt] (0,0) -- ++(0,-1.5) -- ++(4, 0); % signal pole
\draw [line width=4pt,fill=base1!50] (2.1,-1.5) -- ++(2,-1) -- ++(0,2) -- cycle; % signal screen
\draw [fill=#1] (3.5,-1.5) circle (0.5); % signal aspect
\draw [double] (3,-1.5) -- ++(1.0,0); % signal aspect
\node [right] at (0.2,-1) {
\IfLanguage { english} { \Large distant signal}
\IfLanguage { ngerman} { \Large Vorsignal}
} ; % label
}
2019-04-01 16:58:53 +02:00
}
} ,
pics/distant_ signal_ go/.default=signalgreen,
}
\tikzset {
2019-05-13 17:02:00 +02:00
pics/block_ signal_ go/.style args={ #1} {
2019-04-01 16:58:53 +02:00
code={
2019-09-17 15:39:18 +02:00
\iftoggle { LeftHandTraffic} {
\draw [loosely dashdotted] (0,-1) -- ( 0,0) -- ++(8,0) -- ++(0,-1);
\draw [line width=4pt] (0,0) -- ++(0,1.5) -- ++(4, 0); % signal pole
\draw [line width=4pt,fill=base1!50] (4,0.5) rectangle ++(2,2); % signal screen
\draw [fill=#1] (5,1.5) circle (0.5); % signal aspect
\draw [double] (4.5,1.5) -- ++(1.0,0); % signal aspect
\node [right] at (0.2,1) {
\IfLanguage { english} { \Large block signal}
\IfLanguage { ngerman} { \Large Blocksignal}
} ; % label
} {
\draw [loosely dashdotted] (0,1) -- ( 0,0) -- ++(8,0) -- ++(0,1);
\draw [line width=4pt] (0,0) -- ++(0,-1.5) -- ++(4, 0); % signal pole
\draw [line width=4pt,fill=base1!50] (4,-0.5) rectangle ++(2,-2); % signal screen
\draw [fill=#1] (5,-1.5) circle (0.5); % signal aspect
\draw [double] (4.5,-1.5) -- ++(1.0,0); % signal aspect
\node [right] at (0.2,-1) {
\IfLanguage { english} { \Large block signal}
\IfLanguage { ngerman} { \Large Blocksignal}
} ; % label
}
2019-04-01 16:58:53 +02:00
}
} ,
2019-05-13 17:02:00 +02:00
pics/block_ signal_ go/.default=signalgreen,
2019-04-01 16:58:53 +02:00
}
\tikzset {
pics/distant_ signal_ stop/.style args={ #1} {
code={
2019-09-17 15:39:18 +02:00
\iftoggle { LeftHandTraffic} {
\draw [loosely dashdotted] (0,-1) -- ( 0,0) -- ++(8,0) -- ++(0,-1);
\draw [line width=4pt] (0,0) -- ++(0,1.5) -- ++(4, 0); % signal pole
\draw [line width=4pt,fill=base1!50] (2.1,1.5) -- ++(2,-1) -- ++(0,2) -- cycle; % signal screen
\draw [fill=#1] (3.5,1.5) circle (0.5); % signal aspect
\draw [double] (3.14,1.14) -- ++(0.72,0.72); % signal aspect
\node [right] at (0.2,1) {
\IfLanguage { english} { \Large distant signal}
\IfLanguage { ngerman} { \Large Vorsignal}
} ; % label
} {
\draw [loosely dashdotted] (0,1) -- ( 0,0) -- ++(8,0) -- ++(0,1);
2019-08-26 18:01:36 +02:00
2019-09-17 15:39:18 +02:00
\draw [line width=4pt] (0,0) -- ++(0,-1.5) -- ++(4, 0); % signal pole
\draw [line width=4pt,fill=base1!50] (2.1,-1.5) -- ++(2,-1) -- ++(0,2) -- cycle; % signal screen
\draw [fill=#1] (3.5,-1.5) circle (0.5); % signal aspect
\draw [double] (3.14,-1.14) -- ++(0.72,-0.72); % signal aspect
\node [right] at (0.2,-1) {
\IfLanguage { english} { \Large distant signal}
\IfLanguage { ngerman} { \Large Vorsignal}
} ; % label
}
2019-04-01 16:58:53 +02:00
}
} ,
pics/distant_ signal_ stop/.default=signalyellow,
}
\tikzset {
2019-05-13 17:02:00 +02:00
pics/block_ signal_ stop/.style args={ #1} {
2019-04-01 16:58:53 +02:00
code={
2019-09-17 15:39:18 +02:00
\iftoggle { LeftHandTraffic} {
\draw [loosely dashdotted] (0,-1) -- ( 0,0) -- ++(8,0) -- ++(0,-1);
\draw [line width=4pt] (0,0) -- ++(0,1.5) -- ++(4, 0); % signal pole
\draw [line width=4pt,fill=base1!50] (4,0.5) rectangle ++(2,2); % signal screen
\draw [fill=#1] (5,1.5) circle (0.5); % signal aspect
\draw [double] (5,1) -- ++(0,1); % signal aspect
\node [right] at (0.2,1) {
\IfLanguage { english} { \Large block signal}
\IfLanguage { ngerman} { \Large Blocksignal}
} ; % label
} {
\draw [loosely dashdotted] (0,1) -- ( 0,0) -- ++(8,0) -- ++(0,1);
2019-08-26 18:01:36 +02:00
2019-09-17 15:39:18 +02:00
\draw [line width=4pt] (0,0) -- ++(0,-1.5) -- ++(4, 0); % signal pole
\draw [line width=4pt,fill=base1!50] (4,-0.5) rectangle ++(2,-2); % signal screen
\draw [fill=#1] (5,-1.5) circle (0.5); % signal aspect
\draw [double] (5,-1) -- ++(0,-1); % signal aspect
\node [right] at (0.2,-1) {
\IfLanguage { english} { \Large block signal}
\IfLanguage { ngerman} { \Large Blocksignal}
} ; % label
}
2019-04-01 16:58:53 +02:00
}
} ,
2019-05-13 17:02:00 +02:00
pics/block_ signal_ stop/.default=signalred,
2019-04-01 16:58:53 +02:00
}
\begin { document}
2019-08-26 18:01:36 +02:00
\selectlanguage { english} % currently supported: english, ngerman
2019-09-17 15:39:18 +02:00
\settoggle { LeftHandTraffic} { true}
2019-04-01 16:58:53 +02:00
\tikzset { every path/.style={ ultra thick} }
\begin { frame}
\vfill
\begin { tikzpicture} [font=\sffamily ]
\foreach \x in { 0,9.5,19}
\foreach \y in { 10,15}
2019-05-13 17:02:00 +02:00
\pic at (\x ,\y ) { block_ signal_ go} ;
2019-04-01 16:58:53 +02:00
\foreach \x in { 0,9.5,19}
\foreach \y in { 0,5}
\pic at (\x ,\y ) { distant_ signal_ go} ;
\end { tikzpicture}
\vfil
\end { frame}
\begin { frame}
\vfill
\begin { tikzpicture} [font=\sffamily ]
\foreach \x in { 0,9.5,19}
\foreach \y in { 10,15}
\pic at (\x ,\y ) { distant_ signal_ stop} ;
\foreach \x in { 0,9.5,19}
\foreach \y in { 0,5}
2019-05-13 17:02:00 +02:00
\pic at (\x ,\y ) { block_ signal_ stop} ;
2019-04-01 16:58:53 +02:00
\end { tikzpicture}
\vfil
\end { frame}
\end { document}