tikz-trackschematic/examples/snippets/bridge_track_beneath.tikz

11 lines
509 B
Plaintext

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