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 staves?


From: Jean ABOU SAMRA
Subject: Re: How to increase the distance between staves?
Date: Wed, 24 Jul 2019 18:25:25 +0200



Le 24 juil. 2019 à 18:03, Thomas Morley <address@hidden> a écrit :

Am Mi., 24. Juli 2019 um 14:26 Uhr schrieb Jean ABOU SAMRA <address@hidden>:

Hi Peter,
Any overrides you can do in StaffGrouper are related to the space between staves
of the _same_ system when they are grouped in StaffGroup-s or such.

Nope.
StaffGrouper.staffgroup-staff-spacing will affect spacing between
StaffGroups in the same system, yes.
But, \override StaffGrouper.staff-staff-spacing.padding _will_ staces
of a StaffGroup.

That's right. Thanks for the correction.

Below some large example(s). It demonstrates several possibilities,
but still excludes others.
User-settable spacing in LilyPond is a _very_ complex matter.
Mostly because there are so many possibilities, from own experience I
can say: it's not exactly easy to find the correct command(s) and/or
their combination(s).

Hi Thomas,

Thanks to all for this. At the moment I'm playing about with all sorts of paper variables, and getting to what I'd like.

In addition to the Notation Reference, there is this Learning Manual page: http://lilypond.org/doc/v2.19/Documentation/learning/vertical-spacing.html

I've just been asked a similar question of address@hidden and
looking into it I came up with the following example which has a
variety of \layout {} blocks with which I'm trying to influence the
spacing between the staffs within the staff groups and between a staff
group and the following staff(-group). I've included examples
overriding StaffGrouper.xxx and VerticalAxisGroup.xxx but I can't find
anything that affects the typeset.


In addition to Harm's very comprehensive anwer, your corrected snippet would be:
%%%%%
\version "2.18.2"

\layout {
  \context {
    \ChoirStaff
    %% This influences space between staves in the same ChoirStaff
    \override StaffGrouper.staff-staff-spacing.minimum-distance = 25
    %% and this influences the distance between ChoirStaffs.
    \override StaffGrouper.staffgroup-staff-spacing.minimum-distance = 25

  }
}

mus = { \repeat unfold 100 R1*4/4 }

\score {
  <<
    \new ChoirStaff \with {
    } <<
      \new Staff { \mus }
      \new Staff  { \mus }   
    >> 
    \new ChoirStaff <<
      \new Staff  { \mus }
      \new Staff  { \mus }   
    >> 
  >>
}
%%%%

(Don't forget that \layout { \context { \StaffGroup …  settings won't affect a ChoirStaff.)
Cheers,
Jean Abou Samra

reply via email to

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