tikz-trackschematic/doc/snippets/route_signal_backward.tikz

14 lines
534 B
Plaintext
Raw Normal View History

%!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);
\routesignal[backward,speed={8}] at (S) label (F);
% replace the 8 with desired speed or remove tikz key