Urs Liska-4 wrote
> Of course I'm also talking about PianoStaves with more than two staves in
> it.
> BTW does \change Staff work only in the context of a PianoStaff (can't
> check that ATM)?

it should work with any staff-grouper

here is an example where the "melody" jumps from one staff to the other -
and it does not need to be the nearest (up or down)!

\new ChoirStaff <<
  \new Staff = "1" { \clef "treble_8" s1 * 6 }
  \new Staff = "2" { \clef treble s1 * 6 }
  \new Staff = "3" { \clef alto s1 * 6 }
  \new Staff = "4" \relative f {
    \clef bass c4 d e f
    \change Staff = "3" g' a h c
    \change Staff = "2" g a h c
    \change Staff = "1" g, a h c
    \change Staff = "3" g a h c
    \change Staff = "4" g a h c
  }
>>

Eluze



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Refer-to-a-staff-relatively-not-by-name-tp143705p143746.html
Sent from the User mailing list archive at Nabble.com.

_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to