lilypond-devel
[Top][All Lists]
Advanced

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

Re: Stretching of nested GrandStaff inside StaffGroup?


From: Xavier Scheuer
Subject: Re: Stretching of nested GrandStaff inside StaffGroup?
Date: Sun, 19 Jun 2011 22:50:29 +0200

On 19 June 2011 22:12, Reinhold Kainhofer <address@hidden> wrote:
>
> I'm currently fiddling with the vertical stretching of large orchestra scores,
> where the string section is a StaffGroup with a GrandStaff for the violins 
> and a
> normal staff for the violas. The problem is that the viola staff is stretched
> avail from the GrandStaff by the same amount as the top-level StaffGroups are
> stretched. I can't seem to find the proper spacing settings to keep the viola
> staff together with the violin grand staff (i.e. stretched just like the two
> staves in the first staff group for the brass).
>
> Attached is a sample file showing the problem.
>
> How can I keep the viola staff closer to the violins?

Decrease the value of  StaffGrouper #'staffgroup-staff-spacing  for
your  GrandStaff  (containing the violins).

By default  StaffGrouper #'staffgroup-staff-spacing  has bigger values
of  'basic-distance ,  'minimum-distance  and  'stretchability
than for  StaffGrouper #'staff-staff-spacing .
Set it to the same values as  StaffGrouper #'staff-staff-spacing and
it seems OK, isn't it?

\layout{
  % your first part ...
  \context { \GrandStaff
    \override StaffGrouper #'staff-staff-spacing #'stretchability = #3.5
    \override StaffGrouper #'staffgroup-staff-spacing = #'((basic-distance . 9)

(minimum-distance . 7)
                                                           (padding . 1)

(stretchability . 3.5))
  }
  % etc.
}


Cheers,
Xavier

-- 
Xavier Scheuer <address@hidden>



reply via email to

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