I wrote a piece for piano that I'm now typesetting in Lilypond. However, there's a construction in which I run into problems.
I've attached an snippet that shows a bit what I need (it's the same bar twice); the triplets in the left hand are connected to a chord, but the highest notes are played by the right hand.
Adding a staff change in the triplets is no problem (see the second bar), but that won't work in a chord: I tried:
\times 2/3 { cis,8~ d~ \change Staff=up a~ } \change Staff=down <cis, d \change Staff=up a \change Staff=down>4
but that gives me an "unexpected \change".
Is there any way to achieve this?
Below is the code for the attached snippet.