From:
Jean Abou Samra <jean@abou-samra.fr>
To:
Paul Hodges <pwh@cassland.org>, lilypond-user Mailinglist <lilypond-user@gnu.org>
Sent:
04/01/2023 16:27
Subject:
Re: Allowing a collision
Le 04/01/2023 à 17:24, Paul Hodges a écrit :
> I have a score which has two staves, for unrelated instruments. To
> reproduce the composer's notation, I occasionally need to join the
> stems of simultaneous notes on the two staves.
>
> In a piano staff this is catered for using the \crossStaff command.
> However, in my case this is inapplicable; so I am trying either to
> lengthen the stems on one staff or to draw a line joining them, using
> \markup.
>
> However, whichever method I try, LilyPond prevents the extended
> stem/line from reaching note on the other staff, because it prevents
> the collision from happening.
>
> Is there a way to turn off the collision avoidance for this specific
> item in isolation?
The real question is: why is \crossStaff inapplicable for you?