lilypond-user
[Top][All Lists]
Advanced

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

Re: How to increase the distance between systems? (new try)


From: Noeck
Subject: Re: How to increase the distance between systems? (new try)
Date: Thu, 19 Feb 2015 12:39:08 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0

Hi Kaj,

these spacing settings are very flexible but also quite complicated. The manual
indeed explains this. But I try to make it easier for your case. This works for 
me:

\version "2.18.2"

\layout {
  indent = #0
  ragged-right = ##t
  % staves setting
  \override Staff.VerticalAxisGroup.default-staff-staff-spacing.basic-distance 
= #20
  % staffgoup setting
  \override StaffGroup.StaffGrouper.staff-staff-spacing.basic-distance = #15
}

% staves
\score {
  <<
    \new Staff { c'1 e'1 }
    \new Staff { d'1 f'1 }
  >>
}

% staff group example
\score {
  \new StaffGroup <<
    \new Staff { c'1 e'1 }
    \new Staff { d'1 f'1 }
  >>
}

In the first case (staves combined with << >> without grouping), the
VerticalAxisGroup of the Staff (or higher level objects like the Score) is
responsible. Here is one exception from other x-y-spacing settings: In this
case, the staff-staff-setting is a function that should not be overwritten (and
throws an error if it is). This function combines different settings, one of
them being default-staff-staff-spacing.

In the second case (any kind of StaffGroup), the StaffGrouper is responsible for
vertical distances between staves in this staff group.

Is it clearer now?

Cheers,
Joram



reply via email to

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