lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: DynamicsStaff spacing itself too far from the music


From: Richard Shann
Subject: Re: DynamicsStaff spacing itself too far from the music
Date: Wed, 01 Mar 2023 10:15:22 +0000
User-agent: Evolution 3.38.3-1

On Tue, 2023-02-28 at 20:16 +0000, Timothy Lanfear wrote:
> On 28/02/2023 17:53, Richard Shann wrote:
> In a complex score with a DynamicsStaff placed above the music for
> markups and another below for the dynamics an unusually large space
> opened up below the music and above the dynamics.
> I pared the complex score down to this MWE:
> 
> A Dynamics context  by default is centred between the staves above
> and below. Adjusting this behaviour might be what you need.
> \version "2.24"
>  
>  marks = {
>                  %This line is needed.
>                  \repeat unfold 40 {s1 }
>                  }
>  music = {
>                   \repeat unfold 80 {c''1 }
>                    }
>  dyns = {
>                       \repeat unfold 80 { <>  \f c''1 }
>                    }
>  \paper {
>          %this line is needed.
>          system-system-spacing.minimum-distance = 15
>         }
>  
>  \score {
>            <<   \new Dynamics \with { \override
> VerticalAxisGroup.staff-affinity = #DOWN } <<\marks >>
>                 \new Staff <<   \music  >>
>                 \new Dynamics \with { \override
> VerticalAxisGroup.staff-affinity = #UP } << \dyns >>
>             >>
>         }
> 

Thank you very much  - it's all clear now.
Richard Shann







reply via email to

[Prev in Thread] Current Thread [Next in Thread]