tikz-trackschematic/doc/snippets/distant_speed_signal_forwar...

14 lines
542 B
Plaintext

%!TEX TS-program = pdflatexmk
%!TEX root = ../snippets.tex
% Copyright (c) 2018 - 2021, 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 (S) at (3,0);
\maintrack (A) -- (B);
\distantsignal[forward,distant speed={8}] at (S) label ();
% replace the 8 with desired speed or remove tikz key