From e71ffee2103e3f137bbc9ee526858bc277e95908 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Fri, 17 Jan 2020 03:01:22 +0000 Subject: CTAN sync 202001170301 --- .../tikz-trackschematic-snippets/train_berth.tikz | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 graphics/pgf/contrib/tikz-trackschematic/tikz-trackschematic-snippets/train_berth.tikz (limited to 'graphics/pgf/contrib/tikz-trackschematic/tikz-trackschematic-snippets/train_berth.tikz') 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 -- cgit v1.2.3