Debian Codegraph @

texmf-dist/doc/latex/tikz-trackschematic/tikz-trackschematic-snippets/pylons_middle.tikz

raw
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.5);
8 \coordinate (B1) at (6,-0.5);
9 \coordinate (A2) at (0, 0.5);
10 \coordinate (B2) at (6, 0.5);
11 %
12 \coordinate (P1) at (1,-0.5);
13 \coordinate (P2) at (3,-0.5);
14 \coordinate (P3) at (5,-0.5);
15 \coordinate (P4) at (1, 0.5);
16 \coordinate (P5) at (3, 0.5);
17 \coordinate (P6) at (5, 0.5);
18
19 \maintrack (A1) -- (B1);
20 \maintrack (A2) -- (B2);
21 \pylon[side=left] at (P1);
22 \pylon[side=left] at (P2);
23 \pylon[side=left] at (P3);
24 \pylon[side=right] at (P4);
25 \pylon[side=right] at (P5);
26 \pylon[side=right] at (P6);