tikz-trackschematic/doc/snippets/individual_balises_mixed.tikz

27 lines
705 B
Plaintext
Raw Normal View History

%!TEX TS-program = pdflatexmk
%!TEX root = ../snippets.tex
2022-01-06 20:17:51 +01:00
% Copyright (c) 2018 - 2022, 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 (T1) at (2,0);
\coordinate (T2) at (4,0);
\maintrack (A) -- (B);
2022-03-22 15:11:03 +01:00
\balise[
forward,
along={0,1,3},
along switched={2},
oppose={0,2},
] at (T1) label (A);
\balise[
backward,
along={0,1,3},
along switched={2},
oppose={0,2,3},
oppose switched={1},
index % show index number
] at (T2) label (B);