| 1 |
%!TEX TS-program = pdflatexmk |
| 2 |
%!TEX root = ../snippets.tex |
| 3 |
|
| 4 |
% Copyright (c) 2018 - 2022, Martin Scheidt (ISC license) |
| 5 |
% Permission to use, copy, modify, and/or distribute this file for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. |
| 6 |
|
| 7 |
\coordinate (A1) at (0 ,-0.5); |
| 8 |
\coordinate (Y1) at (2.5,-0.5); |
| 9 |
\coordinate (B1) at (6 ,-0.5); |
| 10 |
\coordinate (A2) at (0 , 0.5); |
| 11 |
\coordinate (Y2) at (3.5, 0.5); |
| 12 |
\coordinate (B2) at (6 , 0.5); |
| 13 |
\coordinate (T) at (5 , 0.5); |
| 14 |
|
| 15 |
\maintrack (A1) -- (B1); |
| 16 |
\maintrack (A2) -- (B2); |
| 17 |
\maintrack (Y1) -- (Y2); |
| 18 |
\turnout[forward ,branch=left ] at (Y1) label (Y1); |
| 19 |
\turnout[backward,branch=right] at (Y2) label (Y2); |
| 20 |
|
| 21 |
\train[ |
| 22 |
run=slow,forward, |
| 23 |
bend left at={(Y1)},bend right at={(Y2)}, |
| 24 |
shift label={(-2,-0.5)} % relative coordinate |
| 25 |
] at (T) label (T1); |