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