[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: DynamicsStaff spacing itself too far from the music
From: |
Timothy Lanfear |
Subject: |
Re: DynamicsStaff spacing itself too far from the music |
Date: |
Tue, 28 Feb 2023 20:16:29 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.7.1 |
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 >>
>>
}
--
Timothy Lanfear, Bristol, UK.