[ << Spacing issues ] | [Top][Contents][Index] | [ Changing defaults >> ] |
[ < Spacing of ungrouped staves ] | [ Up : Flexible vertical spacing within systems ] | [ Spacing of non-staff lines > ] |
Spacing of grouped staves
In orchestral and other large scores, it is common to place staves in groups. The space between groups is typically larger than the space between staves of the same group.
Staff-groups (such as StaffGroup
, ChoirStaff
,
etc.) are contexts that can contain one or more staves
simultaneously.
The following properties affect the spacing of staves inside staff groups:
-
VerticalAxisGroup
properties:-
staff-staff-spacing
-
-
StaffGrouper
properties:-
staff-staff-spacing
-
staffgroup-staff-spacing
-
These grob properties are described individually above; see Within-system spacing properties.
The following example shows how properties of the
StaffGrouper
grob can affect the spacing of grouped staves:
\layout { \context { \Score \override StaffGrouper.staff-staff-spacing.padding = 0 \override StaffGrouper.staff-staff-spacing.basic-distance = 1 } } << \new PianoStaff \with { \override StaffGrouper .staffgroup-staff-spacing .basic-distance = 20 } << \new Staff { c'1 } \new Staff { c'1 } >> \new StaffGroup << \new Staff { c'1 } \new Staff { c'1 } >> >>
See also
Installed Files: scm/define-grobs.scm.
Snippets: Spacing.
Internals Reference: VerticalAxisGroup, StaffGrouper.
[ << Spacing issues ] | [Top][Contents][Index] | [ Changing defaults >> ] |
[ < Spacing of ungrouped staves ] | [ Up : Flexible vertical spacing within systems ] | [ Spacing of non-staff lines > ] |