Greetings fellow Lilypond users, I have been using Lilypond for a couple of years now and till now have been able to crack most problems with it by resorting to the snippet repository or the archives here. However i have encountered a snag that does not seem to have an obvious solution. The problem is this. i am trying to make cross staff chords in a piano score. Following the example provided in the user manual works just fine until another voice in the bass is added at which point the rendering ignores the trickery used to make the chords appear to cross the staff. So included is a minimal example (one measure out of 25 pages). So it seems pretty obvious it has something to do with the added voice causing the problem but what would that be that needs to also be overrided or altered to make it render correctly?
regards, Shane Brandes \version "2.12.2" %--------incorrect rendering xstaff = { \once \override Stem #'cross-staff = ##t \once\override Stem #'length = #12 \once\override Stem #'flag-style = #'no-flag } \new PianoStaff << \new Staff= "right" {\stemUp\key f \minor\autoBeamOff \relative c' { s2 \change Staff = "left" c8[^( d \change Staff = "right" e f ]) } } \new Staff= "left" { \clef bass \key f \minor\autoBeamOff \relative c { <<{ \stemUp <e g c>4. ^( <d f b>8 ) \xstaff <es g >8 \xstaff <f as >8 \xstaff <g bes >8\xstaff <as c >8 }\\{ \repeat tremolo 8 { c,,32 c' } \repeat tremolo 8 { c,32 c' }}>> } } >> %------------------correct rendering minus second bass voice xstaff = { \once \override Stem #'cross-staff = ##t \once\override Stem #'length = #12 \once\override Stem #'flag-style = #'no-flag } \new PianoStaff << \new Staff= "right" {\stemUp\key f \minor\autoBeamOff \relative c' { s2 \change Staff = "left" c8[^( d \change Staff = "right" e f ]) } } \new Staff= "left" { \clef bass \key f \minor\autoBeamOff \relative c { \stemUp <e g c>4. ^( <d f b>8 ) \xstaff <es g >8 \xstaff <f as >8 \xstaff <g bes >8\xstaff <as c >8 } } >> _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user