20 lines
718 B
Plaintext
20 lines
718 B
Plaintext
|
%!TEX TS-program = pdflatexmk
|
||
|
%!TEX root = ../snippets.tex
|
||
|
|
||
|
% Copyright (c) 2018 - 2020, 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 (X1) at (3,0);
|
||
|
\coordinate (X2) at (3.5,0);
|
||
|
\coordinate (B) at (6,0);
|
||
|
|
||
|
\coordinate (hb) at (0,-2);
|
||
|
|
||
|
\maintrack (A) -- (B);
|
||
|
|
||
|
\tikzset{hectometer base={(hb)},orientation=right}
|
||
|
\hectometer[] at (A) mileage (0.000);
|
||
|
\hectometer[] at (X1) mileage (4.000);
|
||
|
\hectometer[shift label={(0.3,0)}] at (X2) mileage (4.500);
|
||
|
\hectometer[] at (B) mileage (6.000);
|