Fix signal direction

This commit is contained in:
Y. Wang 2022-12-16 18:09:15 +01:00
parent c344f3d81c
commit 8e7d6a6a60
No known key found for this signature in database
GPG Key ID: 54A05DDF18D7A0EB
2 changed files with 3 additions and 3 deletions

View File

@ -20,7 +20,7 @@ A notable portion of the manual is influenced by various other guides and manual
\item Unless otherwise specified, the unit of speed is meter per second.
\item Unless otherwise specified, the unit of acceleration is meter per second squared.
\item The \tikz \pic at (0,0) {tcb}; symbol stands for a TCB assigned to the track.
\item The \tikz \pic (0,0) {signal=red}; symbol stands for a TCB assigned to the track with a signal assigned to the TCB side opposite of that of the direction in which the TCB is facing (here: the signal is assigned to the left side of the TCB).
\item The \tikz \pic (0,0) {signal=red}; symbol stands for a TCB assigned to the track with a signal assigned to the TCB side that the light is facing (here: the signal is assigned to the left side of the TCB).
\item Arguments to functions and ATC commands are delimited using angle brackets \var{like this}.
\item Argument names are generally lowercase, but the first letter may be capitalized.
\item Lua string constants are written without quotation marks when the content does not resemble any numeric or symbolic constant and when used as enumerators or table indices.

View File

@ -97,8 +97,8 @@
\tikzset{
signal/.pic = {
\draw (0,0) -- (0,0.2) -- (0.15,0.2);
\draw [fill=#1] (0.15,0.2) circle [radius=0.05];
\draw (0,0) -- (0,0.2) -- (-0.15,0.2);
\draw [fill=#1] (-0.15,0.2) circle [radius=0.05];
},
tcb/.pic = {
\draw (0,0) -- (0,0.2);