%!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 (X) at (3,0);

% order is important
\bridge[] at (X); % first
\maintrack (A) -- (B); % secound