[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to increase the distance between staves?
From: |
Richard Shann |
Subject: |
Re: How to increase the distance between staves? |
Date: |
Wed, 24 Jul 2019 16:51:43 +0100 |
On Wed, 2019-07-24 at 12:54 +0100, Peter Toye wrote:
> I want to increase the distance between the staves
I've just been asked a similar question of address@hidden and
looking into it I came up with the following example which has a
variety of \layout {} blocks with which I'm trying to influence the
spacing between the staffs within the staff groups and between a staff
group and the following staff(-group). I've included examples
overriding StaffGrouper.xxx and VerticalAxisGroup.xxx but I can't find
anything that affects the typeset.
8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8>
\version "2.18.0"
\layout {
\context {
\StaffGroup \override StaffGrouper.staff-staff-spacing = #'(
(basic-distance . 60)
(minimum-distance . 60)
(padding . 1)
(stretchabilty . 0))
\override VerticalAxisGroup #'default-staff-staff-spacing
#'basic-distance = #100
}
}
\layout {
\context {
\Staff \override StaffGrouper.staff-staff-spacing = #'(
(basic-distance . 60)
(minimum-distance . 60)
(padding . 1)
(stretchabilty . 0))
\override VerticalAxisGroup #'default-staff-staff-spacing
#'basic-distance = #100
}
}
mus = { \repeat unfold 100 R1*4/4 }
\score {
<<
\new ChoirStaff <<
\new Staff { \mus }
\new Staff { \mus }
>>
\new ChoirStaff <<
\new Staff { \mus }
\new Staff { \mus }
>>
>>
}
8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8>
The reference http://lilypond.org/doc/v2.18/Documentation/notation/flex
ible-vertical-spacing-within-systems#within_002dsystem-spacing-
properties
doesn't show fully working examples and I can't find anything in the
LilyPond Snippet Repository to cover this either.
I have got other approaches working, but I would like to understand why
the above does not...
Richard
> in a short 1-page piece. I've tried the following (culled from the
> notation reference), but nothing happens.
>
> \layout {
> \context {
> \StaffGroup
> \override StaffGrouper.staffgroup-staff-spacing.basic-distance =
> #30
> \override StaffGrouper.staffgroup-staff-spacing.minimum-distance
> = #30
> }
> }
>
> What am I missing, please?
>
> Regards,
>
> Peter
> mailto:address@hidden
> www.ptoye.com
> _______________________________________________
> lilypond-user mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/lilypond-user