Hi Kaj,
these spacing settings are very flexible but also quite complicated. The manual
indeed explains this. But I try to make it easier for your case. This works for
me:
\version "2.18.2"
\layout {
indent = #0
ragged-right = ##t
% staves setting
\override Staff.VerticalAxisGroup.default-staff-staff-spacing.basic-distance
= #20
% staffgoup setting
\override StaffGroup.StaffGrouper.staff-staff-spacing.basic-distance = #15
}
% staves
\score {
<<
\new Staff { c'1 e'1 }
\new Staff { d'1 f'1 }
>>
}
% staff group example
\score {
\new StaffGroup <<
\new Staff { c'1 e'1 }
\new Staff { d'1 f'1 }
>>
}
In the first case (staves combined with << >> without grouping), the
VerticalAxisGroup of the Staff (or higher level objects like the Score) is
responsible. Here is one exception from other x-y-spacing settings: In this
case, the staff-staff-setting is a function that should not be overwritten (and
throws an error if it is). This function combines different settings, one of
them being default-staff-staff-spacing.
In the second case (any kind of StaffGroup), the StaffGrouper is responsible for
vertical distances between staves in this staff group.
Is it clearer now?
Cheers,
Joram
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user