Context order
Hi list, I'm wondering if there is a simple way to keep the PianoStaff at the bottom of the vertical group, regardless of contexts being created / destroyed above it. Basically, I've created a ChoirStaff with non-simultaneous music and grouped it with the PianoStaff: << ChoirStaff << { << First line of music >> << Next line of music >> << Third line of music >> } >> PianoStaff << { All lines of music combined } >> >> In the attached pdf, you'll see that the PianoStaff jumps to the top on the second line when new contexts are created inside the ChoirStaff. Can I force the PianoStaff to the bottom? I tried AlignBelowContext, but I think that only works for lyrics. I've attached a full (longer) example. Samuel. \score { << \new ChoirStaff << { % First line - parts unison << \new Staff { c' c' c' c'} \new Staff { a a a a } >> % Second line - high parts split << \new ChoirStaff \with { systemStartDelimiter = #'SystemStartSquare } << \new Staff { g' g' g' g' } \new Staff { c' c' c' c' } >> \new Staff { a a a a } >> % Third line - low parts split << \new ChoirStaff \with { systemStartDelimiter = #'SystemStartSquare } << \new Staff { g' g' g' g' } \new Staff { c' c' c' c' } >> \new ChoirStaff \with { systemStartDelimiter = #'SystemStartSquare } << \new Staff { a a a a } \new Staff { f f f f } >> >> } >> \new PianoStaff << \new Dynamics { s1 \break s1 \break s1 \break } \new Staff { c'4 c' c' c' | q q q | q q q q |} \new Staff { a a a a | a a a a | q q q | } >> >> \layout { \context { \Staff \RemoveEmptyStaves } } } scoretest.pdf Description: Adobe PDF document ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Context order
Hi, 2014-08-28 19:21 GMT+02:00 Samuel Speer : > Hi list, > > I'm wondering if there is a simple way to keep the PianoStaff at the bottom > of the vertical group, regardless of contexts being created / destroyed > above it. > > Basically, I've created a ChoirStaff with non-simultaneous music and grouped > it with the PianoStaff: > > << > > ChoirStaff << > { > << First line of music >> > << Next line of music >> > << Third line of music >> > } >>> > > PianoStaff << > { All lines of music combined } > >> > >>> > > In the attached pdf, you'll see that the PianoStaff jumps to the top on the > second line when new contexts are created inside the ChoirStaff. Can I force > the PianoStaff to the bottom? I tried AlignBelowContext, but I think that > only works for lyrics. AFAIK AlignBelow/AboveContext should work (but you may have to use it on the other context, i.e. voices instead of the piano). However, i think that you actually should use another approach for what you're doing (i.e. not spawn new contexts when the voices split). You may find thread "How split SA staff into two staff - each now has two voices?" helpful for that. Interestingly, i have just a few minutes ago started another discussion on this very topic, see "partcombine/divisi framework - let the fun begin!" thread. hth, Janek ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user