The x-gap change in the example below makes the top tie (which appears to be the second from top in the attached image) flip into the wrong direction. Well, some other ugly things can be seen also in the image :-)
Werner ====================================================================== \score { \context Voice \notes \relative c' { s2. <bes4 cis f g bes cis> ~ | <bes4 cis f g bes cis> s2. | } \paper { \translator { \ScoreContext Tie \override #'x-gap = #0.3 } linewidth = 40.0\mm } }