tikz-trackschematic/doc/snippets/bridge_track_beneath.tikz

11 lines
501 B
Plaintext

%!TEX TS-program = pdflatexmk
%!TEX root = ../snippets.tex
% Copyright 2019 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.
\draw[MainTrack] (-1,-1) -- ++(2,2);
\fill[background] (-1,-0.4) rectangle (1,0.4);
\draw[MainTrack] (-2.5,0) -- ++(5,0);
\pic at (-1,0) {bridge_left=3};
\pic at (-2,0) {bridge_right=3};