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' | <c' g'> q q q | q q q q |}
      \new Staff { a a a a | a a a a | <f a> q q q | }
    >>
  >>

  \layout {
    \context { \Staff
      \RemoveEmptyStaves
    }
  }
}

Attachment: scoretest.pdf
Description: Adobe PDF document

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to