edugame-railway-operation/material/clearing_points.tex

69 lines
2.4 KiB
TeX

%!TEX TS-program = pdflatexmk
% Copyright 2020 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{./..}
\input{\ROOT/src/material_header.tex}
\input{\ROOT/src/colors.tex}
% \input{\ROOT/src/hyperref.tex}
\tikzset{
route_clearing_point/.pic = {
% \draw[loosely dashdotted] (0,1) -- ( 0,0) -- ++(8,0) -- ++(0,1);
\draw[line width=4pt] (8,0) -- ++(0,-0.5);
\draw[line width=4pt] (8,-0.75) circle (0.25);
\node[align=center] at (8,-1.5) {
\IfLanguage{english}{\Large RCP}
\IfLanguage{ngerman}{\Large FZS}
}; % label
},
}
\tikzset{
block_clearing_point/.pic = {
% \draw[loosely dashdotted] (0,1) -- ( 0,0) -- ++(8,0) -- ++(0,1);
\draw[line width=4pt] (8,0) -- ++(0,-0.5);
\draw[line width=4pt] (8,-0.5) -- (7.75,-0.75) -- (8,-1) -- (8.25,-0.75) -- cycle;
\node[align=center] at (8,-1.5) {
\IfLanguage{english}{\Large BCP}
\IfLanguage{ngerman}{\Large SZS}
}; % label
},
}
\tikzset{
clearing_point/.pic = {
% \draw[loosely dashdotted] (0,1) -- ( 0,0) -- ++(8,0) -- ++(0,1);
\draw[line width=4pt] (8,0) -- ++(0,-0.5);
\draw[line width=4pt] (7.75,-0.5) -- ++(0.5,0);
\node[align=center] at (8,-1.5) {
\IfLanguage{english}{\Large CP}
\IfLanguage{ngerman}{\Large ZS}
}; % label
},
}
\begin{document}
\selectlanguage{english} % currently supported: english, ngerman
\tikzset{every path/.style={ultra thick}}
\begin{frame}
\vfill
\begin{tikzpicture}[font=\sffamily]
\foreach \x in {1,5,9,13}
\foreach \y in {0,3,6,9}
\pic at (\x,\y) {route_clearing_point};
\foreach \x in {17,21,25}
\foreach \y in {0,3,6,9,12,15}
\pic at (\x,\y) {block_clearing_point};
\foreach \x in {1,5,9,13}
\foreach \y in {12,15}
\pic at (\x,\y) {clearing_point};
\end{tikzpicture}
\vfil
\end{frame}
\end{document}