| 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 (A1) at (0,0); |
| 8 |
\coordinate (X1) at (3,0); |
| 9 |
\coordinate (B1) at (6,0); |
| 10 |
|
| 11 |
\coordinate (A2) at (0,3); |
| 12 |
\coordinate (X2) at (2,3); |
| 13 |
\coordinate (X3) at (5,3); |
| 14 |
\coordinate (B2) at (6,3); |
| 15 |
|
| 16 |
\coordinate (hb) at (0,-2); |
| 17 |
|
| 18 |
\maintrack (A1) -- (B1); |
| 19 |
\maintrack (A2) -- (B2); |
| 20 |
|
| 21 |
\measureline (A2) -- (A1); |
| 22 |
\measureline (X2) -- ++(0,-1) -- ++(1,-1) -- (X1); |
| 23 |
\measureline (X3) -- ++(0,-1) -- ++(1,-1) -- (B1); |
| 24 |
|
| 25 |
\tikzset{hectometer base={(hb)},orientation=right} |
| 26 |
\hectometer[] at (A) mileage (0.000); |
| 27 |
\hectometer[] at (X1) mileage (4.000); |
| 28 |
\hectometer[] at (B) mileage (6.000); |