| 1 |
%!TEX TS-program = pdflatexmk |
| 2 |
%!TEX root = ../snippets.tex |
| 3 |
|
| 4 |
% Copyright (c) 2018 - 2022, Martin Scheidt (ISC license) |
| 5 |
% 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. |
| 6 |
|
| 7 |
\coordinate (A) at (0,0); |
| 8 |
\coordinate (B) at (6,0); |
| 9 |
\coordinate (T1) at (2,0); |
| 10 |
\coordinate (T2) at (4,0); |
| 11 |
|
| 12 |
\maintrack (A) -- (B); |
| 13 |
|
| 14 |
\balise[ |
| 15 |
forward, |
| 16 |
along={0,1,3}, |
| 17 |
along switched={2}, |
| 18 |
oppose={0,2}, |
| 19 |
] at (T1) label (A); |
| 20 |
\balise[ |
| 21 |
backward, |
| 22 |
along={0,1,3}, |
| 23 |
along switched={2}, |
| 24 |
oppose={0,2,3}, |
| 25 |
oppose switched={1}, |
| 26 |
index % show index number |
| 27 |
] at (T2) label (B); |