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: Michael Werner
Subject: Re: DynamicsStaff spacing itself too far from the music
Date: Tue, 28 Feb 2023 13:08:48 -0500

Hi Richard:

On Tue, Feb 28, 2023 at 12:53 PM Richard Shann <richard@rshann.plus.com> 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:

8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><

\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 <<\marks >>
               \new Staff <<   \music  >>
               \new Dynamics << \dyns >>
           >>
       }

8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><

In this example the extra spacing disappears after the third system.

Changing the \repeat unfold 40 to 80 in the marks section ran the extra spacing out to the end. Also I found that changing that block to 

 marks = {
                %This line is needed.
                \repeat unfold 80 {s4-\markup "A" s2. }    
                }

with some actual markup in there made the extra spacing go away. I'm guessing that the spacing system couldn't quite figure things out with just spacer rests to work with. But that's just a guess.

Michael

reply via email to

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