Hi.  I have a case where I want to have different vertical spacing between two different scores.  I can get system-system spacing to change for both scores using a \paper variable. But if I'm understanding the documentation correctly I should be able to use the same variable in a distinct layout block in each of the two scores.  If tried several different coding lines based on things I've found on google but have not found the correct coding yet. Nothing seems to be affected.  Here are things I've tried so far.

Walt North

_\version "2.24.2"

\paper {
 %     system-system-spacing = #'((basic-distance . 20) (minimum-distance . 20) (padding . 1))
}

  \score {
    \new Staff
    \with {
  %    \override system-system-spacing.padding = #15
  %    \override system-system-spacing.basic-distance = #20
  %    \override system-system-spacing.minimum-distance = #20
    } {
      \new Voice {
        \relative {
          c''4 a b c \break d1
        }
      }
    }
    \layout {
  %    system-system-spacing = #'((basic-distance . 20) (minimum-distance . 20) (padding . 1))
      \context {
        \StaffGroup
        \override StaffGrouper.staff-staff-spacing.basic-distance = #20
   %     \override StaffGrouper.system-system-spacing.basic-distance = #20
      }
      \context {
        \Staff
     %   \override StaffGrouper.staff-staff-spacing.basic-distance = #20
        \override Staff.system-system-spacing.basic-distance = #20
        \override Staff.system-system-spacing.minimum-distance = #20
      }
      %    system-system-spacing = #'((basic-distance . 20) (minimum-distance . 20) (padding . 1))}
    }
  }_

Reply via email to