[prev in list] [next in list] [prev in thread] [next in thread]
List: lilypond-user
Subject: Re: Troubles with StaffGrouper
From: Ben Bradshaw <bleeding.flame () gmail ! com>
Date: 2024-03-20 16:35:04
Message-ID: CAGXnS1KC5x1ShbnCvdc0OvVy2PiDfkQV1Bykh2TZQOekX=FKBg () mail ! gmail ! com
[Download RAW message or body]
Ah wonderful thanks! So basically what was happening is that a global
VericalAxisGroup will override the StaffGrouper, and so I needed to only
locally change the VerticalAxisGroup. Then the StaffGrouper actually worked!
On Wed, Mar 20, 2024 at 1:38 AM Xavier Scheuer <x.scheuer@gmail.com> wrote:
> On Wed, 20 Mar 2024 at 04:48, Ben Bradshaw <bleeding.flame@gmail.com>
> wrote:
> >
> > Hello,
> > I think I must not be understanding how the StaffGrouper works. I'm
> doing a score with instrument and piano accompaniment, and have the piano
> music in a PianoStaff. I'm trying to get more space between the solo staff
> and the piano staff. This is what I tried...
> >
> > \layout{
> > \context {
> > \Score
> > \override VerticalAxisGroup.staff-staff-spacing.minimum-distance = #14
> > \override StaffGrouper.staff-staff-spacing.minimum-distance = #6
> > }
> >
> > But it seems the StaffGrouper spacing isn't applied, and what I get is
> big space between all three lines. I thought that the StaffGrouper was
> supposed to override settings in the VerticalAxisGroup, but maybe I have to
> do it a different way? Any help would be greatly appreciated.
>
> Hello,
>
> Well, apparently that's the case if you don't change the default values of
> VerticalAxisGroup.staff-staff-spacing (maybe that's a bug).
> In your case I would change the value of
> VerticalAxisGroup.staff-staff-spacing for the staff above the PianoStaff.
>
> \score {
> <<
> \new Staff \with {
> \override VerticalAxisGroup.staff-staff-spacing = #'((basic-distance
> . 12)
> (minimum-distance . 11)
> (padding . 1))
> } { c'1 }
> \new PianoStaff <<
> \new Staff { c'1 }
> \new Staff { c'1 }
> >>
> >>
> }
>
> Kind regards,
> Xavier
>
>
[Attachment #3 (text/html)]
<div dir="ltr">Ah wonderful thanks! So basically what was happening is that a global \
VericalAxisGroup will override the StaffGrouper, and so I needed to only locally \
change the VerticalAxisGroup. Then the StaffGrouper actually worked!</div><br><div \
class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Mar 20, 2024 at \
1:38 AM Xavier Scheuer <<a \
href="mailto:x.scheuer@gmail.com">x.scheuer@gmail.com</a>> \
wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px \
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">On Wed, \
20 Mar 2024 at 04:48, Ben Bradshaw <<a href="mailto:bleeding.flame@gmail.com" \
target="_blank">bleeding.flame@gmail.com</a>> wrote:<br>><br>> \
Hello,<br>> I think I must not be understanding how the StaffGrouper works. \
I'm doing a score with instrument and piano accompaniment, and have the piano \
music in a PianoStaff. I'm trying to get more space between the solo staff and \
the piano staff. This is what I tried...<br>><br>> \layout{<br>> \context \
{<br>> \Score<br>> \override \
VerticalAxisGroup.staff-staff-spacing.minimum-distance = #14<br>> \override \
StaffGrouper.staff-staff-spacing.minimum-distance = #6<br>> }<br>><br>> But \
it seems the StaffGrouper spacing isn't applied, and what I get is big space \
between all three lines. I thought that the StaffGrouper was supposed to override \
settings in the VerticalAxisGroup, but maybe I have to do it a different way? Any \
help would be greatly \
appreciated.<br><div><br></div><div>Hello,</div><div><br></div><div>Well, apparently \
that's the case if you don't change the default values of \
VerticalAxisGroup.staff-staff-spacing (maybe that's a bug).</div><div>In your \
case I would change the value of VerticalAxisGroup.staff-staff-spacing for the staff \
above the PianoStaff.</div><div><br></div><div>\score {<br> <<<br> \new \
Staff \with {<br> \override VerticalAxisGroup.staff-staff-spacing = \
#'((basic-distance . 12)<br> (minimum-distance . 11)<br> \
(padding . 1))<br> } { c'1 }<br> \new PianoStaff <<<br> \
\new Staff { c'1 }<br> \new Staff { c'1 }<br> >><br> \
>><br>}</div><div><br></div><div>Kind regards,</div><div>Xavier</div><div><br>
</div></div>
</blockquote></div>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic