tikz-trackschematic/doc/snippets/pylons_both.tikz

16 lines
566 B
Plaintext

%!TEX TS-program = pdflatexmk
%!TEX root = ../snippets.tex
% Copyright (c) 2018 - 2021, 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 (P1) at (1,0);
\coordinate (P2) at (3,0);
\coordinate (P3) at (5,0);
\maintrack (A) -- (B);
\pylon[side=both] at (P1);
\pylon[side=both] at (P2);
\pylon[side=both] at (P3);