lilypond-user
[Top][All Lists]
Advanced

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

Re: Vertical spacing inside the music


From: Jean Abou Samra
Subject: Re: Vertical spacing inside the music
Date: Tue, 20 Oct 2020 14:14:47 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0


Le 20/10/2020 à 14:06, Павел a écrit :
Hello. I'm looking for the "right" way to control vertical spacing within music. The example below doesn't work. Now I know only explicit vertical spacing via NonMusicalPaperColumn, and dirty hacks like a very low invisible note.

<<
    \new Staff {
        c' c' c' c'
        \override Score.VerticalAxisGroup.staff-staff-spacing.basic-distance = #20
        c' c' c' c'
    }
    \new Staff { c' c' c' c' c' c' c' c' }
>>


Hello,

VerticalAxisGroup is a special object, which (I believe) is only
created once per score. Therefore, you need to set its properties
globally.

\layout {
  \context {
    \Staff
    \override VerticalAxisGroup.staff-staff-spacing.basic-distance = #20
  }
}

<<
  \new Staff { c' c' c' c' c' c' c' c' }
  \new Staff { c' c' c' c' c' c' c' c' }
>>

Best regards,
Jean




reply via email to

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