diff options
Diffstat (limited to 'graphics/pgf/contrib/tikz-trackschematic/tikz-trackschematic-snippets/train_berth.tikz')
-rw-r--r-- | graphics/pgf/contrib/tikz-trackschematic/tikz-trackschematic-snippets/train_berth.tikz | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/graphics/pgf/contrib/tikz-trackschematic/tikz-trackschematic-snippets/train_berth.tikz b/graphics/pgf/contrib/tikz-trackschematic/tikz-trackschematic-snippets/train_berth.tikz new file mode 100644 index 0000000000..b3478800f2 --- /dev/null +++ b/graphics/pgf/contrib/tikz-trackschematic/tikz-trackschematic-snippets/train_berth.tikz @@ -0,0 +1,18 @@ +%!TEX TS-program = pdflatexmk +%!TEX root = ../snippets.tex + +% Copyright (c) 2018 - 2020, Martin Scheidt (ISC license) +% 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. + +\coordinate (A) at (0,0); +\coordinate (B) at (6,0); +\coordinate (H) at (3,0); +\coordinate (S1) at (1,0); +\coordinate (S2) at (5,0); + +\maintrack (A) -- (B); + +\berth[forward ] at (H) length (); +\berth[backward] at (H) length (); +\berthsignal[backward] at (S1) label (); +\berthsignal[forward ] at (S2) label ();
\ No newline at end of file |