Am 15.08.2015 um 15:49 schrieb Orm Finnendahl:
I tried all sorts of combinations of removing and consisting the
keep-alive-together engraver, tried to create an explicit staffgroup
for the main piano staves within the PianoStaff (this results in
loosing the centered instrument name and the curly braces), but it
didn't work.

If PianoStaff accepts StaffGroup the alignment works, so here is a solution:

\version "2.19.25"

\new PianoStaff \with {
  instrumentName = "Piano"
} <<
  \new Staff {
    R1 % music
  }
  \new StaffGroup <<
    \new Staff {
      R1 % music
    }
    \new Staff {
      R1 % music
    }
  >>
>>

\layout {
  \context {
    \Staff
    \RemoveEmptyStaves
  }
  \context {
    \StaffGroup
    \consists Keep_alive_together_engraver
    \remove System_start_delimiter_engraver
  }
  \context {
    \PianoStaff
    \accepts StaffGroup
    \remove Keep_alive_together_engraver
  }
}

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

Reply via email to