Debian Codegraph @

texmf-dist/doc/latex/tikz-trackschematic/tikz-trackschematic-snippets/bridge_track_beneath.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);
8 \coordinate (B1) at (6, 0);
9 \coordinate (A2) at (2,-1);
10 \coordinate (B2) at (4, 1);
11 \coordinate (X) at (3,0);
12
13 % order is important
14 \maintrack (A2) -- (B2); % first
15 \bridge[shift left=0.25cm,shift right=-0.25cm] at (X); % secound
16 \maintrack (A1) -- (B1); % third