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