The recently added Solo staff is outside the ChoirStaff and so
is not affected by the ChoirStaff overrides to VerticalAxisGroup.
This patch moves the overrides into a \layout block at top level
so all staves are affected. The overrides in PianoStaff are then
no longer required. Note that this \layout block can itself be
overridden by setting the Layout variable.
#(if PianoShortInstrumentName
PianoShortInstrumentName
"")
- \override VerticalAxisGroup.remove-empty = ##t
- \override VerticalAxisGroup.remove-first = ##t
}
<<
\make-one-voice-staff ##f "PianoRH" "treble" ""
SATB =
<<
\make-one-voice-vocal-staff "Solo" "treble"
- \new ChoirStaff
- \with {
- \override VerticalAxisGroup.remove-empty = ##t
- \override VerticalAxisGroup.remove-first = ##t
- }
- <<
+ \new ChoirStaff <<
\make-one-voice-vocal-staff "Descant" "treble"
\make-one-voice-vocal-staff "Women" "treble"
#(if TwoVoicesPerStaff
\tagGroup #'(print play)
+\layout {
+ \context {
+ \Staff
+ \override VerticalAxisGroup.remove-empty = ##t
+ \override VerticalAxisGroup.remove-first = ##t
+ }
+}
+
\score {
\keepWithTag #'print
#(if have-music