Added Material for paper based game:

- papercut tracks, signals, and trains
    - collection of trains with appropriate driving dynamics
    - protocol template
minor improvements and some refactoring
master v0.5
Martin Scheidt 2019-04-01 16:58:53 +02:00
parent a9e2e317bf
commit 77d43dedde
39 changed files with 1059 additions and 195 deletions

View File

@ -1,5 +1,13 @@
edugame-rail-traffic-flow
======
Version 0.5
------
* added Material for paper based game:
** papercut tracks, signals, and trains
** collection of trains with appropriate driving dynamics
** protocol template
* minor improvements and some refactoring
Version 0.4
------
* neutral design
@ -24,7 +32,6 @@ Roadmap
------
* wood construction with instructions
* Collection of trains with appropriate driving dynamics
* extend game with routes
* extend game with train numbers
* extend game with dispatching

View File

@ -31,5 +31,8 @@
\IfLanguage{ngerman}{Übersetzung ins Englische}
\IfLanguage{english}{Translation into english}
}
\vhEntry{0.5}{2019-03-29}{MS}{
\IfLanguage{ngerman}{Kleinere Verbesserungen und Bastelbögen}
\IfLanguage{english}{Minor improvements and craft sheets}
}
\end{versionhistory}
\vhListAllAuthorsLongWithAbbrev

View File

@ -6,6 +6,10 @@
\documentclass[tikz,border=2,preview=true]{standalone}
\usepackage[prefix=]{xcolor-solarized}
\usepackage[main=english,ngerman]{babel}
\usepackage{iflang} % needs babel
\newcommand{\IfLanguage}[2]{\IfLanguageName{#1}{#2}{}}
\usepackage{lmodern,microtype,mathptmx,courier}
\begin{document}
\begin{tikzpicture}[font=\sffamily]

View File

@ -6,6 +6,16 @@
\documentclass[tikz,border=2,preview=true]{standalone}
\usepackage[prefix=]{xcolor-solarized}
\usepackage[main=english,ngerman]{babel}
\usepackage{iflang} % needs babel
\newcommand{\IfLanguage}[2]{\IfLanguageName{#1}{#2}{}}
\usepackage{lmodern,microtype,mathptmx,courier}
\usepackage{xfrac} % provides slanted fractures with \sfrac{}{}
\usepackage{siunitx} % for SI-Units
\sisetup{
per-mode=fraction,
fraction-function=\sfrac
}
\begin{document}
\begin{tikzpicture}[font=\sffamily]

View File

@ -6,6 +6,10 @@
\documentclass[tikz,border=2,preview=true]{standalone}
\usepackage[prefix=]{xcolor-solarized}
\usepackage[main=english,ngerman]{babel}
\usepackage{iflang} % needs babel
\newcommand{\IfLanguage}[2]{\IfLanguageName{#1}{#2}{}}
\usepackage{lmodern,microtype,mathptmx,courier}
\begin{document}
\begin{tikzpicture}[font=\sffamily]

View File

@ -11,8 +11,8 @@
\draw ([shift={(base)}] \x,0) rectangle ++(1,0.5) node [below=18pt,left,align=right] {\tiny \x};
\draw ([shift={(base)}] -2,1.1) -- ++(0,-0.4) -- ++ (3,0) -- ++(0,0.4);
\draw ([shift={(base)}] -2,0.8) -- ++ (3,0) node [above,midway] {
\IfLanguage{english}{Stn. A}
\IfLanguage{ngerman}{Bf A}
\IfLanguage{english}{Platform A}
\IfLanguage{ngerman}{Bahnsteig A}
};
\path[draw, line width=1pt, fill=white] (0.9,0.25) -- ++(-0.2,-0.2) -- ++(-2.6,0) -- ++(0,0.4) -- ++(2.6,0) -- cycle; % train
\draw [->] ([shift={(base)}] 5,1.4) -- ([shift={(base)}] 0.85,0.35) node [near start,align=right,fill=white] {

Binary file not shown.

View File

@ -1,91 +0,0 @@
%!TEX TS-program = pdflatexmk
%!TEX root = sketch.tex
% Copyright 2018 RailToolKit (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.
% dimensons for signal construction
\def\length{2.0}
\def\height{1.5}
\def\thick{0.4}
\def\gap{0.05}
\def\depth{2.0}
\tikzset{
block_signal/.pic={
% frame
\draw [thick] ( -1.5,-2.0) -- ( 1.5,-2.0) -- (1.5,-4.0) -- (-1.5,-4.0) --cycle;
};
}
\tikzset{
block_signal_cross_section/.pic={
% lever
\draw [thick] (0,0) -- ++( 0,\height) -- ++(\thick,0) -- ++(0,-\height)
-- ++(\length,0) -- ++(0,-\thick) -- ++(-\length,0) -- ++(-\thick,0) -- ++(-\length,0)
-- ++(0,\thick,0) -- cycle;
% frame
\draw [thick] (-\gap,\gap) -- ++(-\length,0)
-- ++(0,-\gap) -- ++(0,-\thick) -- ++(0,-\gap) % inner height
-- ++(\gap,0) -- ++(\length,0) -- ++(\length,0) -- ++(\length,0) -- ++(\gap,0) % inner bottom
-- ++(0,\gap) -- ++(0,\thick) -- ++(0,\gap) % inner height
-- ++(-\length,0)
-- ++(0,\thick)
-- ++(\length,0) -- ++(\thick,0)
-- ++(0,-\thick) -- ++(0,-\gap) -- ++(0,-\thick) -- ++(0,-\gap) -- ++(0,-\thick) % outer height
-- ++(-\thick,0) -- ++(-\gap,0) -- ++(-\length,0) -- ++(-\length,0) -- ++(-\length,0) -- ++(-\gap,0) -- ++(-\thick,0) % outer bottom
-- ++(0,\thick) -- ++(0,\gap) -- ++(0,\thick) -- ++(0,\gap) -- ++(0,\thick) % outer height
-- ++(\length,0) -- ++(\thick,0)
-- cycle;
};
}
\tikzset{
block_signal_top_view/.pic={
% lever
\draw [thick] (0,0) rectangle ++(\thick,\depth);
% frame
\draw [thick] (-\gap,0) -- ++(-\length,0) -- ++(-\thick,0)
-- ++(0,\depth)
-- ++(\length,0) -- ++(\thick,0)
-- cycle;
\draw [thick] (\length,0) -- ++(\length,0) -- ++(\thick,0)
-- ++(0,\depth)
-- ++(-\length,0) -- ++(-\thick,0)
-- cycle;
};
}
\tikzset{
track_straight/.pic={
% rails
\filldraw [base1!60] (0, 1.0) rectangle ++ (14.5, 0.5);
\filldraw [base1!60] (0,-1.0) rectangle ++ (14.5,-0.5);
% frame
\draw [thick] ( 0.0,-2.0) -- ( 0.0,-0.3) --
( 0.7,-0.3) arc[start angle=36.6, end angle=323.4, radius=-0.5] --
( 0.0,0.3) -- ( 0.0,2.0) --
(14.5,2.0) -- (14.5,0.3) --
(15.2,0.3) arc[start angle=323.4, end angle=36.6, radius=-0.5] --
(14.5,-0.3) -- (14.5,-2.0) -- cycle;
};
}
\tikzset{
track_curved/.pic={
% % rails
% \filldraw [base1!60] (0,3.0) rectangle ++ (14.5,0.5);
% \filldraw [base1!60] (0,0.5) rectangle ++ (14.5,0.5);
% % frame: radius (center) 20,5 cm
% \draw [thick] ( 0.0,0.0) -- ( 0.0,1.7) --
% ( 0.7,1.7) arc[start angle=36.6, end angle=323.4, radius=-0.5] --
% ( 0.0,2.3) -- ( 0.0,4.0) --
% (14.5,4.0) -- (14.5,2.3) --
% (15.2,2.3) arc[start angle=323.4, end angle=36.6, radius=-0.5] --
% (14.5,1.7) -- (14.5,0.0) -- cycle;
};
}
\begin{tikzpicture}
% \pic at ( 0.0,0) {track_straight};
% \pic at (14.5,0) {track_straight};
% \pic at (14.5,0) {block_signal};
\pic at (14.5,4) {block_signal_cross_section};
\pic at (14.5,0) {block_signal_top_view};
\end{tikzpicture}

14
frontmatter/copyright.tex Normal file
View File

@ -0,0 +1,14 @@
%!TEX TS-program = pdflatexmk
%!TEX root = ../handbook.tex
% Copyright 2018 RailToolKit (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.
\vspace*{\fill}
\IfLanguage{english}{
\ccLogo \ccAttribution ~This work is licensed under a Creative Commons License (CC BY 4.0).
}
\IfLanguage{ngerman}{
\ccLogo \ccAttribution ~Dieses Werk steht unter der Creative Commons Lizens (CC BY 4.0).
}

View File

@ -3,6 +3,7 @@
% Copyright 2018 RailToolKit (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.
\chapter*{\IfLanguage{english}{Aim and Materials}\IfLanguage{ngerman}{Ziel und Materialien}}
\noindent
@ -24,18 +25,13 @@
\item ggf. Weichen
}
\end{itemize}
\IfLanguage{english}{Real continuous dimensions time ($t$) and distance ($s$) are assigned to discrete units of rounds ($t$) and spaces ($s$).
\IfLanguage{english}{Real continuous dimensions time ($t$) and distance ($s$) are assigned to discrete units of laps ($t$) and spaces ($s$).
Thus, the simulation is round-based in order to imitate the steps of a computer.}
\IfLanguage{ngerman}{Reale kontinuierliche Größen Zeit ($t$) und Strecke ($s$) werden dabei in diskrete Einheiten von Runden ($t$) und Felder ($s$) eingeteilt.
Die Simulation erfolgt also Rundenbasiert, um im Schrittverfahren einen Computer nachzuahmen.}
\vspace*{\fill}
\IfLanguage{english}{
{\noindent\large Version \vhCurrentVersion\ from \vhCurrentDate } \\[0.3cm]
\ccLogo \ccAttribution ~This work is licensed under a Creative Commons License (CC BY 4.0).
}
\IfLanguage{ngerman}{
{\noindent\large Version \vhCurrentVersion\ vom \vhCurrentDate } \\[0.3cm]
\ccLogo \ccAttribution ~Dieses Werk steht unter der Creative Commons Lizens (CC BY 4.0).
}
\IfLanguage{english}{\noindent\large Version \vhCurrentVersion\ from \vhCurrentDate}
\IfLanguage{ngerman}{\noindent\large Version \vhCurrentVersion\ vom \vhCurrentDate}\\[0.3cm]
\input{\ROOT/frontmatter/copyright.tex}

View File

@ -18,6 +18,10 @@
\vspace*{\fill}
\vspace*{\fill}
{\centering \IfLanguage{english}{``Gaming is an activity that cannot be taken seriously enough!''}\IfLanguage{ngerman}{``Spielen ist eine Tätigkeit, die man garnicht ernst genug nehmen kann!''} \\
\flushright \emph{Jacques-Yves Cousteau}\par}
\vspace*{\fill}
%--------------------------------------------

Binary file not shown.

View File

@ -16,7 +16,9 @@
]{scrbook}
\def\ROOT{.}
\input{\ROOT/header.tex}
\input{\ROOT/src/handbook_header.tex}
\input{\ROOT/src/colors.tex}
\input{\ROOT/src/hyperref.tex}
\begin{document}
@ -39,5 +41,6 @@
\cleardoublepage
\appendix
\input{\ROOT/backmatter/versionhistory.tex}
\vhListAllAuthorsLongWithAbbrev
\end{document}

View File

@ -12,26 +12,26 @@
\begin{itemize}
\IfLanguage{english}{
\item A single train,
\item Line with fields $-2$ to $37$,
\item Line with fields $-2$ to $36$,
\item Platform A at field $-2$ to $0$,
\item Platform B at field $14$ to $16$,
\item Platform C at field $35$ to $37$.
\item Platform B at field $13$ to $15$,
\item Platform C at field $34$ to $36$.
}
\IfLanguage{ngerman}{
\item ein Zug,
\item Strecke mit Feldern $-2$ bis $37$,
\item Strecke mit Feldern $-2$ bis $36$,
\item Bahnsteig A am Feld $-2$ bis $0$,
\item Bahnsteig B am Feld $14$ bis $16$,
\item Bahnsteig C am Feld $35$ bis $37$.
\item Bahnsteig B am Feld $14$ bis $15$,
\item Bahnsteig C am Feld $34$ bis $36$.
}
\end{itemize}
\task
\IfLanguage{english}{ The train (on field $0$ towards $37$) stands still and has its shift lever at \SI{0}{\kilo\metre\per\hour}.}
\IfLanguage{ngerman}{Der Zug (auf Feld $0$ in Richtung $37$) steht und hat seinen Schalthebel auf \SI{0}{\kilo\metre\per\hour}.}
\IfLanguage{english}{ The train (on field $0$ towards $36$) stands still and has its shift lever at \SI{0}{\kilo\metre\per\hour}.}
\IfLanguage{ngerman}{Der Zug (auf Feld $0$ in Richtung $36$) steht und hat seinen Schalthebel auf \SI{0}{\kilo\metre\per\hour}.}
\begin{enumerate}[label=\alph*)]
\IfLanguage{english}{
\item If the train accelerates as much as possible, which field can it get to in \emph{nine} rounds?
\item How many rounds are minimally needed, if the train stops at every station?
\item If the train accelerates as much as possible, which field can it get to in \emph{nine} laps?
\item How many laps are minimally needed, if the train stops at every station?
}
\IfLanguage{ngerman}{
\item Wenn der Zug maximal beschleunigt, bis zu welchen Feld gelangt er in \emph{neun} Runden?
@ -40,25 +40,27 @@
\end{enumerate}
\IfLanguage{english}{Note the solution steps in a protocol!}
\IfLanguage{ngerman}{Notiere die Lösungschritte in einem Protokoll!}
\begin{center}
\IfLanguage{english}{Example for a protocol:}
\IfLanguage{ngerman}{Beispiel für ein Protokoll:}
\\
\input{\ROOT/tables/example_protocol.tex}
\end{center}
% \begin{center}
% \IfLanguage{english}{Example for a protocol:}
% \IfLanguage{ngerman}{Beispiel für ein Protokoll:}
% \\
% \input{\ROOT/tables/example_protocol.tex}
% \end{center}
\task
\IfLanguage{english}{ The train (on field $0$ towards $37$) just passes through the first station and has its shift lever on maximum speed.}
\IfLanguage{ngerman}{Der Zug (auf Feld $0$ in Richtung $37$) fährt gerade durch den ersten Bahnhof durch und hat seinen Schalthebel auf der maximalen Geschwindigkeit.}
\begin{enumerate}[label=a)]
\begin{enumerate}[label=\alph*)]
\IfLanguage{english}{
\item How many fields does the train need to come to a stop?
\item How many rounds are needed if the train shall leave the track completely without stopping?
\item How many laps are needed if the train shall leave the track completely without stopping?
}
\IfLanguage{ngerman}{
\item Wie viele Felder braucht der Zug, bis er zum Stehen gekommen ist?
\item Wie viele Runden benötigt man, wenn der Zug ohne Halt die Strecke vollständig verlassen soll?
}
\end{enumerate}
\newpage
\section{\IfLanguage{english}{Sight and Braking Distance}\IfLanguage{ngerman}{Sicht- und Bremsweg}}
\setup
@ -70,12 +72,12 @@
\begin{enumerate}[label=\alph*)]
\IfLanguage{english}{
\item What is the maximum speed for the train with very good visibility in order to stop in front of an obstacle in time?
\item How many rounds are minimally needed, to arrive safely with normal visibility in a $14$ fields away station?
\item How many laps does it take to get safely to a station $12$ fields away under normal visibility conditions?
\item How many fields far would you have to be able to see in order to drive \SI{160}{\kilo\metre\per\hour}?
}
\IfLanguage{ngerman}{
\item Wie schnell kann der Zug bei sehr gutem Sichtverhältnis maximal Fahren um vor einem Hindernis rechtzeitig anzuhalten?
\item Wie viele Runden benötigt man minimal, um gefahrlos bei normalen Sichtverhältnissen in einem $14$ Felder entfernten Bahnhof zu gelangen?
\item Wie viele Runden benötigt man minimal, um gefahrlos bei normalen Sichtverhältnissen in einem $12$ Felder entfernten Bahnhof zu gelangen?
\item Wie viele Felder weit müsste man sehen können, um \SI{160}{\kilo\metre\per\hour} fahren zu können?
}
\end{enumerate}
@ -91,11 +93,11 @@
\begin{enumerate}[label=\alph*)]
\IfLanguage{english}{
\item Place the distant and main signals so that \SI{160}{\kilo\metre\per\hour} can be driven and bad visibility does not lead to impairment!
\item How many rounds is a block occupied with a train running (complete blocking time)?
\item How many laps is a block occupied with a train run minimally (complete blocking time)?
}
\IfLanguage{ngerman}{
\item Platziere die Vor- und Hauptsignale mindestens so, dass \SI{160}{\kilo\metre\per\hour} gefahren werden kann und schlechte Sichtverhältnisse nicht zur Beeinträchtigung führt!
\item Wie viele Runden ist ein Block mit einer Zugfahrt belegt (vollständige Sperrzeit)?
\item Wie viele Runden ist ein Block mit einer Zugfahrt minimal belegt (vollständige Sperrzeit)?
}
\end{enumerate}
@ -104,23 +106,23 @@
\begin{itemize}
\IfLanguage{english}{
\item Two different trains with different train dynamics.
\item Any length of the track, with at least 3 complete blocks.
\item At the beginning and the end of the track, a station with switches can be arranged or the track can be lead in a circle.
\item A track with at least 3 complete blocks.
\item Am Anfang der Strecke brechen Züge ein. Am Ende der Strecke brechen Züge aus. Die Infrastruktur vor und nach der Strecke wird vernachlässigt.
}
\IfLanguage{ngerman}{
\item Zwei verschiedene Züge mit unterschiedlicher Fahrdynamik.
\item Beliebige Länge der Strecke, mit mindestens 3 vollständigen Blöcken.
\item Am Anfang und Ende der Strecke kann jeweils ein Bahnhof mit Weichen angeordnet werden oder die Strecke im Kreis geführt werden.
\item Eine Strecke, mit mindestens 3 vollständigen Blöcken.
\item Am Anfang der Strecke brechen Züge ein. Am Ende der Strecke brechen Züge aus. Die Infrastruktur vor und nach der Strecke wird vernachlässigt.
}
\end{itemize}
\task
\begin{enumerate}[label=\alph*)]
\IfLanguage{english}{
\item How many rounds are needed if both trains shall run unimpeded and the fast train runs in front of the slow train?
\item How many rounds are needed if both trains shall run unimpeded and the slow train runs in front of the fast train?
\item How many laps are needed from the first train breaking in to the second train leaving if both trains are to run unimpeded and the \emph{fast} runs in front of the \emph{slow} train?
\item How many laps are needed from the first train breaking in to the second train leaving if both trains are to run unimpeded and the \emph{slow} runs in front of the \emph{fast} train?
}
\IfLanguage{ngerman}{
\item Wie viele Runden benötigt man, wenn beide Züge behinderungsfrei fahren sollen und der \emph{schnelle} vor dem \emph{langsamen} Zug fährt?
\item Wie viele Runden benötigt man, wenn beide Züge behinderungsfrei fahren sollen und der \emph{langsame} vor dem \emph{schnellen} Zug fährt?
\item Wie viele Runden werden benötigt vom Einbruch des ersten Zuges bis zum verlassen des zweiten Zuges, wenn beide Züge behinderungsfrei fahren sollen und der \emph{schnelle} vor dem \emph{langsamen} Zug fährt?
\item Wie viele Runden werden benötigt vom Einbruch des ersten Zuges bis zum verlassen des zweiten Zuges, wenn beide Züge behinderungsfrei fahren sollen und der \emph{langsame} vor dem \emph{schnellen} Zug fährt?
}
\end{enumerate}

View File

@ -25,7 +25,7 @@
\chapter{\IfLanguage{english}{Simulation of Driving Dynamics}\IfLanguage{ngerman}{Simulation der Fahrdynamik}}\label{sec:Simulation_Driving_Dynamics}
\noindent
\IfLanguage{english}{The simulation is based on rounds.\\ Each round consists of at least two consecutive steps:}
\IfLanguage{english}{The simulation is based on laps.\\ Each round consists of at least two consecutive steps:}
\IfLanguage{ngerman}{Die Simulation erfolgt Rundenbasiert.\\ Jede Runde besteht aus mindestens zwei aufeinanderfolgenden Schritten:}
\begin{enumerate}
\IfLanguage{english}{

BIN
material/fast_train.pdf Normal file

Binary file not shown.

154
material/fast_train.tex Normal file
View File

@ -0,0 +1,154 @@
%!TEX TS-program = pdflatexmk
% Copyright 2018 RailToolKit (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/signals.tikz}
\newlength{\trainlength}\setlength{\trainlength}{20cm}
\newlength{\trainheight}\setlength{\trainheight}{3cm}
\newlength{\trainwidth}\setlength{\trainwidth}{4cm}
\tikzset{
lever_positions/.pic={
% arrows
\draw[->,>=latex,line width=1.5pt,green] ( 1.5,0) .. controls ( 2,-0.5) and ( 3,-0.5) .. ( 3.5,0);
\draw[->,>=latex,line width=1.5pt,green] ( 1.0,0) .. controls ( 2,-1.0) and ( 6,-1.0) .. ( 7.0,0);
\draw[->,>=latex,line width=1.5pt,green] ( 4.5,0) .. controls ( 5,-0.5) and ( 6,-0.5) .. ( 6.5,0);
\draw[->,>=latex,line width=1.5pt,green] ( 7.5,0) .. controls ( 8,-0.5) and ( 9,-0.5) .. ( 9.5,0);
\draw[->,>=latex,line width=1.5pt,green] (10.5,0) .. controls (11,-0.5) and (12,-0.5) .. (12.5,0);
\draw[->,>=latex,line width=1.5pt,green] (13.5,0) .. controls (14,-0.5) and (15,-0.5) .. (15.5,0);
%
\draw[<-,>=latex,line width=1.5pt,green] ( 1.5,2) .. controls ( 2,2.5) and ( 3,2.5) .. ( 3.5,2);
\draw[<-,>=latex,line width=1.5pt,green] ( 4.5,2) .. controls ( 5,2.5) and ( 6,2.5) .. ( 6.5,2);
\draw[<-,>=latex,line width=1.5pt,green] ( 7.5,2) .. controls ( 8,2.5) and ( 9,2.5) .. ( 9.5,2);
\draw[<-,>=latex,line width=1.5pt,green] (10.5,2) .. controls (11,2.5) and (12,2.5) .. (12.5,2);
\draw[<-,>=latex,line width=1.5pt,green] (13.5,2) .. controls (14,2.5) and (15,2.5) .. (15.5,2);
% lever positions
\foreach \x in {0,3,6,9,12,15}
\draw [fill=white] (\x,0) rectangle ++(2,2);
% labels
\node[align=center] at ( 1,1.6) {\si{\kilo\metre\per\hour}};
\node[align=center] at ( 1,1 ) {\Huge $0$};
\node[align=center] at ( 1,0.3) {\Large \color{blue} $0$
\IfLanguage{english}{fields}
\IfLanguage{ngerman}{Felder}
};
\node[align=center] at ( 4,1.6) {\si{\kilo\metre\per\hour}};
\node[align=center] at ( 4,1 ) {\Huge $40$};
\node[align=center] at ( 4,0.3) {\Large \color{blue} $1$
\IfLanguage{english}{field}
\IfLanguage{ngerman}{Feld}
};
\node[align=center] at ( 7,1.6) {\si{\kilo\metre\per\hour}};
\node[align=center] at ( 7,1 ) {\Huge $80$};
\node[align=center] at ( 7,0.3) {\Large \color{blue} $2$
\IfLanguage{english}{fields}
\IfLanguage{ngerman}{Felder}
};
\node[align=center] at (10,1.6) {\si{\kilo\metre\per\hour}};
\node[align=center] at (10,1 ) {\Huge $120$};
\node[align=center] at (10,0.3) {\Large \color{blue} $3$
\IfLanguage{english}{fields}
\IfLanguage{ngerman}{Felder}
};
\node[align=center] at (13,1.6) {\si{\kilo\metre\per\hour}};
\node[align=center] at (13,1 ) {\Huge $160$};
\node[align=center] at (13,0.3) {\Large \color{blue} $4$
\IfLanguage{english}{fields}
\IfLanguage{ngerman}{Felder}
};
\node[align=center] at (16,1.6) {\si{\kilo\metre\per\hour}};
\node[align=center] at (16,1 ) {\Huge $200$};
\node[align=center] at (16,0.3) {\Large \color{blue} $5$
\IfLanguage{english}{fields}
\IfLanguage{ngerman}{Felder}
};
};
}
\begin{document}
\selectlanguage{ngerman} % currently supported: english, ngerman
\tikzset{every path/.style={ultra thick}}
\begin{frame}
\begin{tikzpicture}[font=\sffamily]
\coordinate (base) at (0,0);
% coordinates
\path ([shift={(base)}] 0,0) coordinate (A3)
-- ++(0,-\trainheight) coordinate (A4)
-- ++(\trainlength, 0) coordinate (A1)
-- ++(0, \trainheight) coordinate (A2);
\path (A2) -- ++ ( 1,-1) coordinate (A5);
\path (A1) -- ++ ( 1, 1) coordinate (A6);
\path ([shift={(base)}] 0,0) coordinate (B3)
-- ++(0, \trainwidth) coordinate (B4)
-- ++(-\trainheight,0) coordinate (B7)
-- ++(0,-\trainwidth) coordinate (B8);
\path (B4) -- ++ (-1, 1) coordinate (B5);
\path (B7) -- ++ ( 1, 1) coordinate (B6);
\path (B8) -- ++ ( 1,-1) coordinate (B1);
\path (B3) -- ++ (-1,-1) coordinate (B2);
\path ([shift={(base)}] 0,0) coordinate (C3)
-- ++(0, \trainwidth) coordinate (C4)
-- ++(\trainlength, 0) coordinate (C1)
-- ++( 0.375\trainwidth,-0.5\trainwidth) coordinate (C5)
-- ++(-0.375\trainwidth,-0.5\trainwidth) coordinate (C2);
\path (C4) coordinate (D4)
-- ++(0, \trainheight) coordinate (D3)
-- ++(\trainlength, 0) coordinate (D2)
-- ++(0,-\trainheight) coordinate (D1);
\path (D1) coordinate (E1)
-- ++(0, \trainheight) coordinate (E2)
-- ++(0.625\trainwidth, 0) coordinate (E3)
-- ++(0,-\trainheight) coordinate (E4)
-- ++(-1,-1) coordinate (E5);
\path (E1) -- ++ ( 1,-1) coordinate (E6);
\path (E4) coordinate (F4)
-- ++(0, \trainheight) coordinate (F3)
-- ++(0.625\trainwidth, 0) coordinate (F2)
-- ++(0,-\trainheight) coordinate (F1)
-- ++(-1,-1) coordinate (F6);
\path (F4) -- ++ ( 1,-1) coordinate (F5);
% drawing
\draw (A2) rectangle (A4);
\draw (B4) rectangle (B8);
\draw (C2) -- (C3) -- (C4) -- (C1) -- (C5) -- cycle;
\draw (D1) rectangle (D3);
\draw (E2) rectangle (E4);
\draw (F2) rectangle (F4);
% labels
\pic[scale=0.75] at (0.1\trainlength,0.35\trainwidth) {lever_positions};
\pic at (-0.5\trainheight,0.5\trainwidth) {end_of_train};
% adhesive edge
\tikzset{every path/.style={thin,base1}}
\draw (A2) -- (A5) -- (A6) -- (A1);
\draw (B4) -- (B5) -- (B6) -- (B7);
\draw (B8) -- (B1) -- (B2) -- (B3);
\draw (E1) -- (E6) -- (E5) -- (E4);
\draw (F1) -- (F6) -- (F5) -- (F4);
%
\end{tikzpicture}
\input{\ROOT/frontmatter/copyright.tex}
\end{frame}
\begin{frame}
\IfLanguage{english}{\Huge \textcolor{blue}{Control Lever:}}
\IfLanguage{ngerman}{\Huge \textcolor{blue}{Schalthebelpositionen:}}\\
\begin{tikzpicture}[font=\sffamily]
\begin{scope}[scale=1.5,transform shape]
\pic at (0,0) {lever_positions};
\end{scope}
\end{tikzpicture}
\vfill
\input{\ROOT/src/game_procedure.tex}
\end{frame}
\end{document}

BIN
material/freight_train.pdf Normal file

Binary file not shown.

212
material/freight_train.tex Normal file
View File

@ -0,0 +1,212 @@
%!TEX TS-program = pdflatexmk
% Copyright 2018 RailToolKit (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/signals.tikz}
\newlength{\trainlength}\setlength{\trainlength}{20cm}
\newlength{\trainheight}\setlength{\trainheight}{3cm}
\newlength{\trainwidth}\setlength{\trainwidth}{4cm}
\tikzset{
lever_positions/.pic={
\draw[->,>=latex,line width=1.5pt,green] ( 1.5,0) .. controls ( 2,-0.5) and ( 3,-0.5) .. ( 3.5,0);
\draw[->,>=latex,line width=1.5pt,green] ( 4.5,0) .. controls ( 5,-0.5) and ( 6,-0.5) .. ( 6.5,0);
\draw[->,>=latex,line width=1.5pt,green] ( 7.5,0) .. controls ( 8,-0.5) and ( 9,-0.5) .. ( 9.5,0);
\draw[->,>=latex,line width=1.5pt,green] (10.5,0) .. controls (11,-0.5) and (12,-0.5) .. (12.5,0);
\draw[->,>=latex,line width=1.5pt,green] (13.5,0) .. controls (14,-0.5) and (15,-0.5) .. (15.5,0);
%
\draw[<-,>=latex,line width=1.5pt,green] ( 1.5,2) .. controls ( 2,2.5) and ( 3,2.5) .. ( 3.5,2);
\draw[<-,>=latex,line width=1.5pt,green] ( 4.5,2) .. controls ( 5,2.5) and ( 6,2.5) .. ( 6.5,2);
\draw[<-,>=latex,line width=1.5pt,green] ( 7.5,2) .. controls ( 8,2.5) and ( 9,2.5) .. ( 9.5,2);
\draw[<-,>=latex,line width=1.5pt,green] (10.5,2) .. controls (11,2.5) and (12,2.5) .. (12.5,2);
\draw[<-,>=latex,line width=1.5pt,green] (13.5,2) .. controls (14,2.5) and (15,2.5) .. (15.5,2);
% lever positiions
\foreach \x in {0,3,6,9,12,15}
\draw [fill=white] (\x,0) rectangle ++(2,2);
% labels
\node[align=center] at ( 1,1.6) {\si{\kilo\metre\per\hour}};
\node[align=center] at ( 1,1 ) {\Huge $0$};
\node[align=center] at ( 1,0.3) {\Large \color{blue} $0$
\IfLanguage{english}{fields}
\IfLanguage{ngerman}{Felder}
};
\node[align=center] at ( 4,1) {\Large \color{blue}
\IfLanguage{english}{\Large \color{blue} suspend\\\Large \color{blue} a\\\Large \color{blue} round}
\IfLanguage{ngerman}{\Large \color{blue} eine\\\Large \color{blue} Runde\\\Large \color{blue} aussetzen}
};
\node[align=center] at ( 7,1.6) {\si{\kilo\metre\per\hour}};
\node[align=center] at ( 7,1 ) {\Huge $40$};
\node[align=center] at ( 7,0.3) {\Large \color{blue} $1$
\IfLanguage{english}{fields}
\IfLanguage{ngerman}{Felder}
};
\node[align=center] at (10,1) {\Large \color{blue}
\IfLanguage{english}{\Large \color{blue} suspend\\\Large \color{blue} a\\\Large \color{blue} round}
\IfLanguage{ngerman}{\Large \color{blue} eine\\\Large \color{blue} Runde\\\Large \color{blue} aussetzen}
};
\node[align=center] at (13,1.6) {\si{\kilo\metre\per\hour}};
\node[align=center] at (13,1 ) {\Huge $80$};
\node[align=center] at (13,0.3) {\Large \color{blue} $2$
\IfLanguage{english}{fields}
\IfLanguage{ngerman}{Felder}
};
\node[align=center] at (16,1.6) {\si{\kilo\metre\per\hour}};
\node[align=center] at (16,1 ) {\Huge $120$};
\node[align=center] at (16,0.3) {\Large \color{blue} $3$
\IfLanguage{english}{fields}
\IfLanguage{ngerman}{Felder}
};
};
}
\begin{document}
\selectlanguage{ngerman} % currently supported: english, ngerman
\tikzset{every path/.style={ultra thick}}
\begin{frame}
\begin{tikzpicture}[font=\sffamily]
\coordinate (base) at (0,0);
% coordinates
\path ([shift={(base)}] 0,0) coordinate (A3)
-- ++(0,-\trainheight) coordinate (A4)
-- ++(\trainlength, 0) coordinate (A1)
-- ++(0, \trainheight) coordinate (A2);
\path (A2) -- ++ ( 1,-1) coordinate (A5);
\path (A1) -- ++ ( 1, 1) coordinate (A6);
\path ([shift={(base)}] 0,0) coordinate (B3)
-- ++(0, \trainwidth) coordinate (B4)
-- ++(-\trainheight,0) coordinate (B7)
-- ++(0,-\trainwidth) coordinate (B8);
\path (B4) -- ++ (-1, 1) coordinate (B5);
\path (B7) -- ++ ( 1, 1) coordinate (B6);
\path (B8) -- ++ ( 1,-1) coordinate (B1);
\path (B3) -- ++ (-1,-1) coordinate (B2);
\path ([shift={(base)}] 0,0) coordinate (C3)
-- ++(0, \trainwidth) coordinate (C4)
-- ++(\trainlength, 0) coordinate (C1)
-- ++( 0.375\trainwidth,-0.5\trainwidth) coordinate (C5)
-- ++(-0.375\trainwidth,-0.5\trainwidth) coordinate (C2);
\path (C4) coordinate (D4)
-- ++(0, \trainheight) coordinate (D3)
-- ++(\trainlength, 0) coordinate (D2)
-- ++(0,-\trainheight) coordinate (D1);
\path (D1) coordinate (E1)
-- ++(0, \trainheight) coordinate (E2)
-- ++(0.625\trainwidth, 0) coordinate (E3)
-- ++(0,-\trainheight) coordinate (E4)
-- ++(-1,-1) coordinate (E5);
\path (E1) -- ++ ( 1,-1) coordinate (E6);
\path (E4) coordinate (F4)
-- ++(0, \trainheight) coordinate (F3)
-- ++(0.625\trainwidth, 0) coordinate (F2)
-- ++(0,-\trainheight) coordinate (F1)
-- ++(-1,-1) coordinate (F6);
\path (F4) -- ++ ( 1,-1) coordinate (F5);
% drawing
\draw (A2) rectangle (A4);
\draw (B4) rectangle (B8);
\draw (C2) -- (C3) -- (C4) -- (C1) -- (C5) -- cycle;
\draw (D1) rectangle (D3);
\draw (E2) rectangle (E4);
\draw (F2) rectangle (F4);
% labels
\pic[scale=0.75] at (0.1\trainlength,0.35\trainwidth) {lever_positions};
\draw ([shift={(base)}] 1,0)
-- (0,0.5\trainwidth)
-- (1,\trainwidth)
-- cycle;
\node[rotate=90] at (0.03\trainlength,0.5\trainwidth) {
\IfLanguage{english}{\Large Coupling}
\IfLanguage{ngerman}{\Large Kupplung}
};
% adhesive edge
\tikzset{every path/.style={thin,base1}}
\draw (A2) -- (A5) -- (A6) -- (A1);
\draw (B4) -- (B5) -- (B6) -- (B7);
\draw (B8) -- (B1) -- (B2) -- (B3);
\draw (E1) -- (E6) -- (E5) -- (E4);
\draw (F1) -- (F6) -- (F5) -- (F4);
%
\end{tikzpicture}
\input{\ROOT/frontmatter/copyright.tex}
\end{frame}
\begin{frame}
\begin{tikzpicture}[font=\sffamily]
\coordinate (base) at (0,0);
% coordinates
\path ([shift={(base)}] 0,0) coordinate (A3)
-- ++(0,-\trainheight) coordinate (A4)
-- ++(\trainlength, 0) coordinate (A1)
-- ++(0, \trainheight) coordinate (A2);
\path ([shift={(base)}] 0,0) coordinate (B3)
-- ++(0, \trainwidth) coordinate (B4)
-- ++(-\trainheight,0) coordinate (B7)
-- ++(0,-\trainwidth) coordinate (B8);
\path (B4) -- ++ (-1, 1) coordinate (B5);
\path (B7) -- ++ ( 1, 1) coordinate (B6);
\path (B8) -- ++ ( 1,-1) coordinate (B1);
\path (B3) -- ++ (-1,-1) coordinate (B2);
\path ([shift={(base)}] 0,0) coordinate (C3)
-- ++(0, \trainwidth) coordinate (C4)
-- ++(\trainlength, 0) coordinate (C1)
-- ++(0,-\trainwidth) coordinate (C2);
\path (C2) coordinate (D2)
-- ++(0, \trainwidth) coordinate (D1)
-- ++( \trainheight,0) coordinate (D6)
-- ++(0,-\trainwidth) coordinate (D5);
\path (D6) -- ++ (-1, 1) coordinate (D7);
\path (D1) -- ++ ( 1, 1) coordinate (D8);
\path (D2) -- ++ ( 1,-1) coordinate (D3);
\path (D5) -- ++ (-1,-1) coordinate (D4);
\path (C4) coordinate (E4)
-- ++(0, \trainheight) coordinate (E3)
-- ++(\trainlength, 0) coordinate (E2)
-- ++(0,-\trainheight) coordinate (E1);
% drawing
\draw (A2) rectangle (A4);
\draw (B4) rectangle (B8);
\draw (C2) rectangle (C4);
\draw (D1) rectangle (D5);
\draw (E2) rectangle (E4);
% labels
\pic at (-0.5\trainheight,0.5\trainwidth) {end_of_train};
\draw ([shift={(base)}] \trainlength,0.5\trainwidth)
-- ++(-1,0.5\trainwidth)
-- ++(0,-\trainwidth)
-- cycle;
\node[rotate=-90] at (0.97\trainlength,0.5\trainwidth) {
\IfLanguage{english}{\Large Coupling}
\IfLanguage{ngerman}{\Large Kupplung}
};
% adhesive edge
\tikzset{every path/.style={thin,base1}}
\draw (B4) -- (B5) -- (B6) -- (B7);
\draw (B8) -- (B1) -- (B2) -- (B3);
\draw (D2) -- (D3) -- (D4) -- (D5);
\draw (D1) -- (D8) -- (D7) -- (D6);
%
\end{tikzpicture}
\end{frame}
\begin{frame}
\IfLanguage{english}{\Huge \textcolor{blue}{Control Lever:}}
\IfLanguage{ngerman}{\Huge \textcolor{blue}{Schalthebelpositionen:}}\\
\begin{tikzpicture}[font=\sffamily]
\begin{scope}[scale=1.5,transform shape]
\pic at (0,0) {lever_positions};
\end{scope}
\end{tikzpicture}
\vfill
\input{\ROOT/src/game_procedure.tex}
\end{frame}
\end{document}

BIN
material/local_train.pdf Normal file

Binary file not shown.

146
material/local_train.tex Normal file
View File

@ -0,0 +1,146 @@
%!TEX TS-program = pdflatexmk
% Copyright 2018 RailToolKit (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/signals.tikz}
\newlength{\trainlength}\setlength{\trainlength}{20cm}
\newlength{\trainheight}\setlength{\trainheight}{3cm}
\newlength{\trainwidth}\setlength{\trainwidth}{4cm}
\tikzset{
lever_positions/.pic={
% arrows
\draw[->,>=latex,line width=1.5pt,green] ( 1.5,0) .. controls ( 2,-0.5) and ( 3,-0.5) .. ( 3.5,0);
\draw[->,>=latex,line width=1.5pt,green] ( 1.0,0) .. controls ( 2,-1.0) and ( 6,-1.0) .. ( 7.0,0);
\draw[->,>=latex,line width=1.5pt,green] ( 4.5,0) .. controls ( 5,-0.5) and ( 6,-0.5) .. ( 6.5,0);
\draw[->,>=latex,line width=1.5pt,green] ( 7.5,0) .. controls ( 8,-0.5) and ( 9,-0.5) .. ( 9.5,0);
\draw[->,>=latex,line width=1.5pt,green] (10.5,0) .. controls (11,-0.5) and (12,-0.5) .. (12.5,0);
%
\draw[<-,>=latex,line width=1.5pt,green] ( 1.5,2) .. controls ( 2,2.5) and ( 3,2.5) .. ( 3.5,2);
\draw[<-,>=latex,line width=1.5pt,green] ( 4.5,2) .. controls ( 5,2.5) and ( 6,2.5) .. ( 6.5,2);
\draw[<-,>=latex,line width=1.5pt,green] ( 7.5,2) .. controls ( 8,2.5) and ( 9,2.5) .. ( 9.5,2);
\draw[<-,>=latex,line width=1.5pt,green] (10.5,2) .. controls (11,2.5) and (12,2.5) .. (12.5,2);
% lever positiions
\foreach \x in {0,3,6,9,12}
\draw [fill=white] (\x,0) rectangle ++(2,2);
% labels
\node[align=center] at ( 1,1.6) {\si{\kilo\metre\per\hour}};
\node[align=center] at ( 1,1 ) {\Huge $0$};
\node[align=center] at ( 1,0.3) {\Large \color{blue} $0$
\IfLanguage{english}{fields}
\IfLanguage{ngerman}{Felder}
};
\node[align=center] at ( 4,1.6) {\si{\kilo\metre\per\hour}};
\node[align=center] at ( 4,1 ) {\Huge $40$};
\node[align=center] at ( 4,0.3) {\Large \color{blue} $1$
\IfLanguage{english}{field}
\IfLanguage{ngerman}{Feld}
};
\node[align=center] at ( 7,1.6) {\si{\kilo\metre\per\hour}};
\node[align=center] at ( 7,1 ) {\Huge $80$};
\node[align=center] at ( 7,0.3) {\Large \color{blue} $2$
\IfLanguage{english}{fields}
\IfLanguage{ngerman}{Felder}
};
\node[align=center] at (10,1.6) {\si{\kilo\metre\per\hour}};
\node[align=center] at (10,1 ) {\Huge $120$};
\node[align=center] at (10,0.3) {\Large \color{blue} $3$
\IfLanguage{english}{fields}
\IfLanguage{ngerman}{Felder}
};
\node[align=center] at (13,1.6) {\si{\kilo\metre\per\hour}};
\node[align=center] at (13,1 ) {\Huge $160$};
\node[align=center] at (13,0.3) {\Large \color{blue} $4$
\IfLanguage{english}{fields}
\IfLanguage{ngerman}{Felder}
};
};
}
\begin{document}
\selectlanguage{ngerman} % currently supported: english, ngerman
\tikzset{every path/.style={ultra thick}}
\begin{frame}
\begin{tikzpicture}[font=\sffamily]
\coordinate (base) at (0,0);
% coordinates
\path ([shift={(base)}] 0,0) coordinate (A3)
-- ++(0,-\trainheight) coordinate (A4)
-- ++(\trainlength, 0) coordinate (A1)
-- ++(0, \trainheight) coordinate (A2);
\path (A2) -- ++ ( 1,-1) coordinate (A5);
\path (A1) -- ++ ( 1, 1) coordinate (A6);
\path ([shift={(base)}] 0,0) coordinate (B3)
-- ++(0, \trainwidth) coordinate (B4)
-- ++(-\trainheight,0) coordinate (B7)
-- ++(0,-\trainwidth) coordinate (B8);
\path (B4) -- ++ (-1, 1) coordinate (B5);
\path (B7) -- ++ ( 1, 1) coordinate (B6);
\path (B8) -- ++ ( 1,-1) coordinate (B1);
\path (B3) -- ++ (-1,-1) coordinate (B2);
\path ([shift={(base)}] 0,0) coordinate (C3)
-- ++(0, \trainwidth) coordinate (C4)
-- ++(\trainlength, 0) coordinate (C1)
-- ++( 0.375\trainwidth,-0.5\trainwidth) coordinate (C5)
-- ++(-0.375\trainwidth,-0.5\trainwidth) coordinate (C2);
\path (C4) coordinate (D4)
-- ++(0, \trainheight) coordinate (D3)
-- ++(\trainlength, 0) coordinate (D2)
-- ++(0,-\trainheight) coordinate (D1);
\path (D1) coordinate (E1)
-- ++(0, \trainheight) coordinate (E2)
-- ++(0.625\trainwidth, 0) coordinate (E3)
-- ++(0,-\trainheight) coordinate (E4)
-- ++(-1,-1) coordinate (E5);
\path (E1) -- ++ ( 1,-1) coordinate (E6);
\path (E4) coordinate (F4)
-- ++(0, \trainheight) coordinate (F3)
-- ++(0.625\trainwidth, 0) coordinate (F2)
-- ++(0,-\trainheight) coordinate (F1)
-- ++(-1,-1) coordinate (F6);
\path (F4) -- ++ ( 1,-1) coordinate (F5);
% drawing
\draw (A2) rectangle (A4);
\draw (B4) rectangle (B8);
\draw (C2) -- (C3) -- (C4) -- (C1) -- (C5) -- cycle;
\draw (D1) rectangle (D3);
\draw (E2) rectangle (E4);
\draw (F2) rectangle (F4);
% labels
\pic[scale=0.75] at (0.1\trainlength,0.35\trainwidth) {lever_positions};
\pic at (-0.5\trainheight,0.5\trainwidth) {end_of_train};
% adhesive edge
\tikzset{every path/.style={thin,base1}}
\draw (A2) -- (A5) -- (A6) -- (A1);
\draw (B4) -- (B5) -- (B6) -- (B7);
\draw (B8) -- (B1) -- (B2) -- (B3);
\draw (E1) -- (E6) -- (E5) -- (E4);
\draw (F1) -- (F6) -- (F5) -- (F4);
%
\end{tikzpicture}
\input{\ROOT/frontmatter/copyright.tex}
\end{frame}
\begin{frame}
\IfLanguage{english}{\Huge \textcolor{blue}{Control Lever:}}
\IfLanguage{ngerman}{\Huge \textcolor{blue}{Schalthebelpositionen:}}\\
\begin{tikzpicture}[font=\sffamily]
\begin{scope}[scale=1.5,transform shape]
\pic at (0,0) {lever_positions};
\end{scope}
\end{tikzpicture}
\vfill
\input{\ROOT/src/game_procedure.tex}
\end{frame}
\end{document}

BIN
material/plain_platform.pdf Normal file

Binary file not shown.

View File

@ -0,0 +1,37 @@
%!TEX TS-program = pdflatexmk
% Copyright 2018 RailToolKit (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}
\begin{document}
\selectlanguage{ngerman} % currently supported: english, ngerman
\tikzset{every path/.style={ultra thick}}
\begin{frame}
\begin{tikzpicture}[font=\sffamily]
\begin{scope}[shift={(0,6)}]
\draw ( 0,0) rectangle ++(8,4.5);
\draw ( 8,0) rectangle ++(8,4.5);
\draw (16,0) rectangle ++(8,4.5);
\draw (0,-3) -- (0,-0.5) -- (24,-0.5) -- (24,-3);
\draw (0,-1) -- (24,-1);
\end{scope}
\begin{scope}[shift={(0,-3)}]
\draw ( 0,0) rectangle ++(8,4.5);
\draw ( 8,0) rectangle ++(8,4.5);
\draw (16,0) rectangle ++(8,4.5);
\draw (0,-3) -- (0,-0.5) -- (24,-0.5) -- (24,-3);
\draw (0,-1) -- (24,-1);
\end{scope}
\end{tikzpicture}
\end{frame}
\end{document}

BIN
material/plain_track.pdf Normal file

Binary file not shown.

43
material/plain_track.tex Normal file
View File

@ -0,0 +1,43 @@
%!TEX TS-program = pdflatexmk
% Copyright 2018 RailToolKit (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}
\begin{document}
\selectlanguage{ngerman} % currently supported: english, ngerman
\tikzset{every path/.style={ultra thick}}
\begin{frame}
\begin{tikzpicture}[font=\sffamily]
\begin{scope}[shift={(0,6)}]
\draw ( 0,0) rectangle ++(8,4.5);
\draw ( 8,0) rectangle ++(8,4.5);
\draw (16,0) rectangle ++(8,4.5);
\end{scope}
\begin{scope}[shift={(0,1)}]
\draw ( 0,0) rectangle ++(8,4.5);
\draw ( 8,0) rectangle ++(8,4.5);
\draw (16,0) rectangle ++(8,4.5);
\end{scope}
\begin{scope}[shift={(0,-4)}]
\draw ( 0,0) rectangle ++(8,4.5);
\draw ( 8,0) rectangle ++(8,4.5);
\draw (16,0) rectangle ++(8,4.5);
\end{scope}
\begin{scope}[shift={(0,-9)}]
\draw ( 0,0) rectangle ++(8,4.5);
\draw ( 8,0) rectangle ++(8,4.5);
\draw (16,0) rectangle ++(8,4.5);
\end{scope}
\end{tikzpicture}
\end{frame}
\end{document}

Binary file not shown.

View File

@ -0,0 +1,145 @@
%!TEX TS-program = pdflatexmk
% Copyright 2018 RailToolKit (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}
\begin{document}
\selectlanguage{ngerman} % currently supported: english, ngerman
\tikzset{every path/.style={ultra thick}}
\begin{frame}
\begin{tikzpicture}[font=\sffamily]
\begin{scope}[shift={(0,5)}]
\draw ( 0,0) rectangle ++(8,4.5);
\draw ( 8,0) rectangle ++(8,4.5);
\draw (16,0) rectangle ++(8,4.5);
\node[scale=5] at ( 4,2.25) {\Huge 4};
\node[scale=5] at (12,2.25) {\Huge 5};
\node[scale=5] at (20,2.25) {\Huge 6};
\end{scope}
\begin{scope}[shift={(0,0)}]
\draw ( 0,0) rectangle ++(8,4.5);
\draw ( 8,0) rectangle ++(8,4.5);
\draw (16,0) rectangle ++(8,4.5);
\node[scale=5] at ( 4,2.25) {\Huge 1};
\node[scale=5] at (12,2.25) {\Huge 2};
\node[scale=5] at (20,2.25) {\Huge 3};
\end{scope}
\begin{scope}[shift={(0,-5)}]
\draw ( 0,0) rectangle ++(8,4.5);
\draw ( 8,0) rectangle ++(8,4.5);
\draw (16,0) rectangle ++(8,4.5);
\node[scale=5] at ( 4,2.25) {\Huge -2};
\node[scale=5] at (12,2.25) {\Huge -1};
\node[scale=5] at (20,2.25) {\Huge 0};
\draw (0,-3) -- (0,-0.5) -- (24,-0.5) -- (24,-3);
\draw (0,-1) -- (24,-1);
\end{scope}
\end{tikzpicture}
\end{frame}
\begin{frame}
\begin{tikzpicture}[font=\sffamily]
\begin{scope}[shift={(0,5)}]
\draw ( 0,0) rectangle ++(8,4.5);
\draw ( 8,0) rectangle ++(8,4.5);
\draw (16,0) rectangle ++(8,4.5);
\node[scale=5] at ( 4,2.25) {\Huge 7};
\node[scale=5] at (12,2.25) {\Huge 8};
\node[scale=5] at (20,2.25) {\Huge 9};
\end{scope}
\begin{scope}[shift={(0,0)}]
\draw ( 0,0) rectangle ++(8,4.5);
\draw ( 8,0) rectangle ++(8,4.5);
\draw (16,0) rectangle ++(8,4.5);
\node[scale=5] at ( 4,2.25) {\Huge 10};
\node[scale=5] at (12,2.25) {\Huge 11};
\node[scale=5] at (20,2.25) {\Huge 12};
\end{scope}
\begin{scope}[shift={(0,-5)}]
\draw ( 0,0) rectangle ++(8,4.5);
\draw ( 8,0) rectangle ++(8,4.5);
\draw (16,0) rectangle ++(8,4.5);
\node[scale=5] at ( 4,2.25) {\Huge 13};
\node[scale=5] at (12,2.25) {\Huge 14};
\node[scale=5] at (20,2.25) {\Huge 15};
\draw (0,-3) -- (0,-0.5) -- (24,-0.5) -- (24,-3);
\draw (0,-1) -- (24,-1);
\end{scope}
\end{tikzpicture}
\end{frame}
\begin{frame}
\begin{tikzpicture}[font=\sffamily]
\begin{scope}[shift={(0,6)}]
\draw ( 0,0) rectangle ++(8,4.5);
\draw ( 8,0) rectangle ++(8,4.5);
\draw (16,0) rectangle ++(8,4.5);
\node[scale=5] at ( 4,2.25) {\Huge 16};
\node[scale=5] at (12,2.25) {\Huge 17};
\node[scale=5] at (20,2.25) {\Huge 18};
\end{scope}
\begin{scope}[shift={(0,1)}]
\draw ( 0,0) rectangle ++(8,4.5);
\draw ( 8,0) rectangle ++(8,4.5);
\draw (16,0) rectangle ++(8,4.5);
\node[scale=5] at ( 4,2.25) {\Huge 19};
\node[scale=5] at (12,2.25) {\Huge 20};
\node[scale=5] at (20,2.25) {\Huge 21};
\end{scope}
\begin{scope}[shift={(0,-3)}]
\draw ( 0,0) rectangle ++(8,4.5);
\draw ( 8,0) rectangle ++(8,4.5);
\draw (16,0) rectangle ++(8,4.5);
\node[scale=5] at ( 4,2.25) {\Huge 22};
\node[scale=5] at (12,2.25) {\Huge 23};
\node[scale=5] at (20,2.25) {\Huge 24};
\end{scope}
\begin{scope}[shift={(0,-8)}]
\draw ( 0,0) rectangle ++(8,4.5);
\draw ( 8,0) rectangle ++(8,4.5);
\draw (16,0) rectangle ++(8,4.5);
\node[scale=5] at ( 4,2.25) {\Huge 25};
\node[scale=5] at (12,2.25) {\Huge 26};
\node[scale=5] at (20,2.25) {\Huge 27};
\end{scope}
\end{tikzpicture}
\end{frame}
\begin{frame}
\begin{tikzpicture}[font=\sffamily]
\begin{scope}[shift={(0,5)}]
\draw ( 0,0) rectangle ++(8,4.5);
\draw ( 8,0) rectangle ++(8,4.5);
\draw (16,0) rectangle ++(8,4.5);
\node[scale=5] at ( 4,2.25) {\Huge 28};
\node[scale=5] at (12,2.25) {\Huge 29};
\node[scale=5] at (20,2.25) {\Huge 30};
\end{scope}
\begin{scope}[shift={(0,0)}]
\draw ( 0,0) rectangle ++(8,4.5);
\draw ( 8,0) rectangle ++(8,4.5);
\draw (16,0) rectangle ++(8,4.5);
\node[scale=5] at ( 4,2.25) {\Huge 31};
\node[scale=5] at (12,2.25) {\Huge 32};
\node[scale=5] at (20,2.25) {\Huge 33};
\end{scope}
\begin{scope}[shift={(0,-5)}]
\draw ( 0,0) rectangle ++(8,4.5);
\draw ( 8,0) rectangle ++(8,4.5);
\draw (16,0) rectangle ++(8,4.5);
\node[scale=5] at ( 4,2.25) {\Huge 34};
\node[scale=5] at (12,2.25) {\Huge 35};
\node[scale=5] at (20,2.25) {\Huge 36};
\draw (0,-3) -- (0,-0.5) -- (24,-0.5) -- (24,-3);
\draw (0,-1) -- (24,-1);
\end{scope}
\end{tikzpicture}
\end{frame}
\end{document}

Binary file not shown.

View File

@ -16,7 +16,7 @@
]{scrartcl}
\def\ROOT{./..}
\input{\ROOT/header.tex}
\input{\ROOT/src/handbook_header.tex}
\begin{document}
\selectlanguage{ngerman} % currently supported: english, ngerman

BIN
material/signals.pdf Normal file

Binary file not shown.

103
material/signals.tex Normal file
View File

@ -0,0 +1,103 @@
%!TEX TS-program = pdflatexmk
% Copyright 2018 RailToolKit (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{
pics/distant_signal_go/.style args={#1}{
code={
\draw[loosely dashdotted] (0,1) -- ( 0,0) -- ++(8,0) -- ++(0,1);
\draw[line width=4pt] (0,-0.5) -- ++(0,-2);
\draw[line width=4pt] (0,-1.5) -- ++(4, 0);
\draw[line width=4pt,fill=base1] (4,-0.5) arc (90:270:1) -- ++(1.2,0) -- ++(0,2)-- cycle;
\draw[fill=#1] (4,-1.5) circle (0.8);
\draw[double] (3.2,-1.5) -- ++(1.6,0);
}
},
pics/distant_signal_go/.default=signalgreen,
}
\tikzset{
pics/main_signal_go/.style args={#1}{
code={
\draw[loosely dashdotted] (0,1) -- ( 0,0) -- ++(8,0) -- ++(0,1);
\draw[line width=4pt] (7.5,-0.5) -- ++(1,0);
\fill (7.8,-0.5) circle (0.2);
\fill (8.2,-0.5) circle (0.2);
\draw[line width=4pt] (0,-0.5) -- ++(0,-2);
\draw[line width=4pt] (0,-1.5) -- ++(4, 0);
\draw[line width=4pt,fill=base1] (4,-0.5) -- ++(2,0) arc (-90:-270:-1) -- ++(-2,0) -- cycle;
\draw[fill=#1] (6,-1.5) circle (0.8);
\draw[double] (5.2,-1.5) -- ++(1.6,0);
}
},
pics/main_signal_go/.default=signalgreen,
}
\tikzset{
pics/distant_signal_stop/.style args={#1}{
code={
\draw[loosely dashdotted] (0,1) -- ( 0,0) -- ++(8,0) -- ++(0,1);
\draw[line width=4pt] (0,-0.5) -- ++(0,-2);
\draw[line width=4pt] (0,-1.5) -- ++(4, 0);
\draw[line width=4pt,fill=base1] (4,-0.5) arc (90:270:1) -- ++(1.2,0) -- ++(0,2)-- cycle;
\draw[fill=#1] (4,-1.5) circle (0.8);
\draw[double] (3.44,-0.94) -- ++(1.12,-1.12);
}
},
pics/distant_signal_stop/.default=signalyellow,
}
\tikzset{
pics/main_signal_stop/.style args={#1}{
code={
\draw[loosely dashdotted] (0,1) -- ( 0,0) -- ++(8,0) -- ++(0,1);
\draw[line width=4pt] (7.5,-0.5) -- ++(1,0);
\fill (7.8,-0.5) circle (0.2);
\fill (8.2,-0.5) circle (0.2);
\draw[line width=4pt] (0,-0.5) -- ++(0,-2);
\draw[line width=4pt] (0,-1.5) -- ++(4, 0);
\draw[line width=4pt,fill=base1] (4,-0.5) -- ++(2,0) arc (-90:-270:-1) -- ++(-2,0) -- cycle;
\draw[fill=#1] (6,-1.5) circle (0.8);
\draw[double] (6.0,-0.7) -- ++(0,-1.6);
}
},
pics/main_signal_stop/.default=signalred,
}
\begin{document}
\selectlanguage{ngerman} % 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 {10,15}
\pic at (\x,\y) {main_signal_go};
\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}
\pic at (\x,\y) {main_signal_stop};
\end{tikzpicture}
\vfil
\end{frame}
\end{document}

View File

@ -1,14 +1,10 @@
%!TEX TS-program = pdflatexmk
%!TEX root = handbook.tex
% Copyright 2018 RailToolKit (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[tikz,border=2,preview=true]{standalone}
\usepackage[prefix=]{xcolor-solarized}
\begin{document}
\begin{tikzpicture}[font=\sffamily]
\input{sketch.tikz}
\end{tikzpicture}
\end{document}
\definecolor{signalgreen}{RGB}{0,181,26}
\definecolor{signalyellow}{RGB}{255,230,0}
\definecolor{signalred}{RGB}{255,0,0}

11
src/game_procedure.tex Normal file
View File

@ -0,0 +1,11 @@
%!TEX TS-program = pdflatexmk
% Copyright 2018 RailToolKit (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.
Spiel Ablauf:
\begin{enumerate}
\item Den Zug entsprechend der in der letzten Runde gewählten Schalthebelposition auf dem Spielfeld bewegen!\\ (Bei “0” kein Feld).
\item Blocklogik und Infrastrukur einstellen
\item Eine neue Schalthebelposition \emph{kann} gewählt werden.
\end{enumerate}

View File

@ -10,6 +10,7 @@
\usepackage[T1]{fontenc}
\usepackage[main=english,ngerman]{babel}
\usepackage{iflang}
\newcommand{\IfLanguage}[2]{\IfLanguageName{#1}{#2}{}}
% % --------[ revision history ]----------
\usepackage{vhistory}
@ -20,7 +21,7 @@
\usepackage{ifdraft}
\ifdraft{%
\usepackage{draftwatermark}
\SetWatermarkColor{solarized-base1!10}
\SetWatermarkColor{base1!10}
}{}
%
\setlength{\marginparwidth }{2cm}
@ -34,9 +35,7 @@
\displaywidowpenalty=10000
\clubpenalty=10000
\widowpenalty=10000
\usepackage{microtype}
\usepackage{lmodern}
\usepackage{mathptmx,courier}
\usepackage{lmodern,microtype,mathptmx,courier}
\usepackage[scaled=0.92]{helvet}
\usepackage[
@ -53,35 +52,6 @@
\patchcmd{\scr@startchapter}{\if@openright\cleardoublepage\else\clearpage\fi}{}{}{} % remove page break after chapter
\makeatother
% -----------[ PDF linking ]----------------
\usepackage[
pdftex,
pdfpagelabels, % modify PDF page labels
hyperindex,
hyperfigures,
bookmarksopen,
bookmarksnumbered,
draft=false,
pageanchor=true, % Determines whether every page is given an implicit anchor at the top left corner
%pagebackref, % Adds ‘backlink’ text to the end of each item in the bibliography, as a list of page numbers
%linktocpage, % make page number, not text, be link on TOC, LOF and LOT
breaklinks=true, % allow links to break over lines by making links over multiple lines into PDF links to the same target
colorlinks=true, % Colors the text of links and anchors
citecolor=solarized-violet, % Color for bibliographical citations in text
linkcolor=solarized-base01, % Color for normal internal links
urlcolor=solarized-blue, % Color for web links
]{hyperref} % PDF with a linked TableOfContent
\usepackage{bookmark} % Adding package bookmark improves bookmarks handling.
\usepackage{url}
% -------[ PDF Informations ]---------
\hypersetup{
pdftitle={Traffic Flow in Railway Systems},
pdfsubject={game based learning},
pdfauthor={Martin Scheidt and contributers},
pdfkeywords={railway, railroad, infrastructure, serious game},
}
% -------[ Symbols ]---------
\usepackage{amsmath,amsthm}
\usepackage{xfrac} % provides slanted fractures with \sfrac{}{}
@ -102,8 +72,6 @@
\usepackage{enumitem} % change numbering
\usepackage{tikz,adjustbox}
\usepackage[prefix=solarized-]{xcolor-solarized}
% -------[ costum commands ]---------
\newcommand{\TODO}[1]{\todo[linecolor=orange,backgroundcolor=orange!20,bordercolor=orange,inline,]{\textcolor{orange}{Todo:~}#1}}
\newcommand{\REWRITE}[1]{\todo[linecolor=magenta,backgroundcolor=magenta!20,bordercolor=magenta,noline]{\textcolor{magenta}{Rewrite:~}#1}}
@ -120,5 +88,3 @@
\end{tikzpicture}
\end{adjustbox}
}
\newcommand{\IfLanguage}[2]{\IfLanguageName{#1}{#2}{}}

34
src/hyperref.tex Normal file
View File

@ -0,0 +1,34 @@
%!TEX TS-program = pdflatexmk
%!TEX root = handbook.tex
% Copyright 2018 RailToolKit (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.
% -----------[ PDF linking ]----------------
\usepackage[
pdftex,
pdfpagelabels, % modify PDF page labels
hyperindex,
hyperfigures,
bookmarksopen,
bookmarksnumbered,
draft=false,
pageanchor=true, % Determines whether every page is given an implicit anchor at the top left corner
%pagebackref, % Adds ‘backlink’ text to the end of each item in the bibliography, as a list of page numbers
%linktocpage, % make page number, not text, be link on TOC, LOF and LOT
breaklinks=true, % allow links to break over lines by making links over multiple lines into PDF links to the same target
colorlinks=true, % Colors the text of links and anchors
citecolor=violet, % Color for bibliographical citations in text
linkcolor=base01, % Color for normal internal links
urlcolor=blue, % Color for web links
]{hyperref} % PDF with a linked TableOfContent
\usepackage{bookmark} % Adding package bookmark improves bookmarks handling.
\usepackage{url}
% -------[ PDF Informations ]---------
\hypersetup{
pdftitle={Traffic Flow in Railway Systems},
pdfsubject={game based learning},
pdfauthor={Martin Scheidt and contributers},
pdfkeywords={railway, railroad, infrastructure, serious game},
}

33
src/material_header.tex Normal file
View File

@ -0,0 +1,33 @@
%!TEX TS-program = pdflatexmk
%!TEX root = handbook.tex
% Copyright 2018 RailToolKit (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.
% --------[ Coding and Language ]----------
\usepackage[utf8x]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[main=english,ngerman]{babel}
\usepackage{iflang}
\newcommand{\IfLanguage}[2]{\IfLanguageName{#1}{#2}{}}
% % --------[ Creative Commons License ]-------
\usepackage[scale=1.5]{ccicons}
% --------[ Layout ]-----------
\usepackage{lmodern,microtype,mathptmx,courier}
\usepackage[scaled=0.92]{helvet}
% -------[ Symbols ]---------
\usepackage{amsmath,amsthm}
\usepackage{xfrac} % provides slanted fractures with \sfrac{}{}
\usepackage{wasysym} % \permil
\usepackage{siunitx} % for SI-Units
\sisetup{
per-mode=fraction,
fraction-function=\sfrac
}
\usepackage{tikz,adjustbox}

30
src/signals.tikz Normal file
View File

@ -0,0 +1,30 @@
%!TEX TS-program = pdflatexmk
% Copyright 2018 RailToolKit (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.
\tikzset{
stop/.pic={
\draw[fill=signalred] (0,0) circle (0.3);
\draw[double] (-0.3,0) -- (0.3,0);
};
}
\tikzset{
approach/.pic={
\draw[fill=signalyellow] (0,0) circle (0.3);
\draw[double] (-0.22,-0.22) -- ++(0.44,0.44);
};
}
\tikzset{
clear/.pic={
\draw[fill=signalgreen] (0,0) circle (0.3);
\draw[double] (0,-0.3) -- (0,0.3);
};
}
\tikzset{
end_of_train/.pic={
\fill[signalred] (-0.7,-0.5) -- (0,0) -- (-0.7,0.5) -- cycle;
\fill[signalred] ( 0.7,-0.5) -- (0,0) -- ( 0.7,0.5) -- cycle;
\draw (-0.7,-0.5) rectangle (0.7,0.5);
};
}

View File

@ -4,7 +4,7 @@
% Copyright 2018 RailToolKit (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.
\begin{tabularx}{0.99\textwidth}{c|X|X|X|X}
\begin{tabularx}{0.99\textwidth}{c||X|X|X||X}
\toprule
\IfLanguage{english}{
Round & curent & (1. Step) & current position & (2. Step) \\
@ -17,10 +17,10 @@
}
\hline
\IfLanguage{english}{
$1$ & \SI{0}{\kilo\metre\per\hour}& $0$ fields & field $0$ & \SI{40}{\kilo\metre\per\hour} \\
$1$ & \SI{0}{\kilo\metre\per\hour}& $0$ fields & field $0$ & \\
}
\IfLanguage{ngerman}{
$1$ & \SI{0}{\kilo\metre\per\hour}& $0$ Felder & Feld $0$ & \SI{40}{\kilo\metre\per\hour} \\
$1$ & \SI{0}{\kilo\metre\per\hour}& $0$ Felder & Feld $0$ & \\
}
\hline
$2$ & & & & \\

View File

@ -4,13 +4,15 @@
% Copyright 2018 RailToolKit (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.
\input{\ROOT/src/signals.tikz}
\begin{tabular}{rcc}
\toprule
&
\IfLanguage{english}{halt}
\IfLanguage{english}{stop}
\IfLanguage{ngerman}{Halt}
&
\IfLanguage{english}{proceed}
\IfLanguage{english}{clear}
\IfLanguage{ngerman}{Fahrt}
\\
\hline
@ -18,13 +20,11 @@
\IfLanguage{ngerman}{Hauptsignal}
&
\begin{tikzpicture}[anchor=base,baseline=-3]
\draw [fill=red] (0,0) circle (0.3);
\draw (-0.3,0) -- (0.3,0);
\pic at (0,0) {stop};
\path (-0.5,-0.5) rectangle ++(1,1); % background rectangle to unify every cell containing a symbol
\end{tikzpicture} &
\begin{tikzpicture}[anchor=base,baseline=-3]
\draw [fill=green] (0,0) circle (0.3);
\draw (0,-0.3) -- (0,0.3);
\pic at (0,0) {clear};
\path (-0.5,-0.5) rectangle ++(1,1); % background rectangle to unify every cell containing a symbol
\end{tikzpicture}
\\
@ -32,13 +32,11 @@
\IfLanguage{ngerman}{Vorsignal}
&
\begin{tikzpicture}[anchor=base,baseline=-3]
\draw [fill=yellow] (0,0) circle (0.3);
\draw (-0.22,-0.22) -- ++(0.44,0.44);
\pic at (0,0) {approach};
\path (-0.5,-0.5) rectangle ++(1,1); % background rectangle to unify every cell containing a symbol
\end{tikzpicture} &
\begin{tikzpicture}[anchor=base,baseline=-3]
\draw [fill=green] (0,0) circle (0.3);
\draw (0,-0.3) -- (0,0.3);
\pic at (0,0) {clear};
\path (-0.5,-0.5) rectangle ++(1,1); % background rectangle to unify every cell containing a symbol
\end{tikzpicture} \\
\bottomrule