On 19 June 2011 22:12, Reinhold Kainhofer <[email protected]> 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 <[email protected]>
_______________________________________________
lilypond-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-devel