edugame-railway-operation/tables/signal_aspects.tex

44 lines
1.7 KiB
TeX

%!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.
\input{\ROOT/src/signals.tikz}
\begin{tabular}{rcc}
\toprule
&
\IfLanguage{english}{stop}
\IfLanguage{ngerman}{Halt}
&
\IfLanguage{english}{clear}
\IfLanguage{ngerman}{Fahrt}
\\
\hline
\IfLanguage{english}{main signal}
\IfLanguage{ngerman}{Hauptsignal}
&
\begin{tikzpicture}[anchor=base,baseline=-3]
\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]
\pic at (0,0) {clear};
\path (-0.5,-0.5) rectangle ++(1,1); % background rectangle to unify every cell containing a symbol
\end{tikzpicture}
\\
\IfLanguage{english}{distant signal}
\IfLanguage{ngerman}{Vorsignal}
&
\begin{tikzpicture}[anchor=base,baseline=-3]
\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]
\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
\end{tabular}