Hi Torsten,

Thank you, that makes so much sense now. I was definitely struggling to
understand how the various spacing settings work together, especially
between VerticalAxisGroup and StaffGrouper.

Thanks,
Nathan

On Wed, Feb 21, 2018 at 5:49 AM, Torsten Hämmerle <torsten.haemme...@web.de>
wrote:

> Nathan Sprangers wrote
> > If it helps, my interest is in creating band scores, which usually place
> > an
> > extra bracket or brace around certain families (such as the clarinets,
> > cornets, etc in Holst's First Suite for Military Band
> > &lt;http://imslp.org/wiki/First_Suite_for_Military_Band,
> _Op.28_No.1_(Holst,_Gustav)&gt;),
> > but there is typically no extra space around these staff groups.
>
>
> Hi Nathan,
>
> Concerning the spacing "around" staff-groups:
> By default, LilyPond tries to keep staff-groups closer together in general.
> When stretching has to be applied this becomes particularly obvious.
>
> As in Holst's example (Military Band, i.e. Wind Band), it is common to have
> uniform vertical spacing just ignoring groups or sub-groups.
>
> This can be achieved fairly easy:
> By setting VerticalAxisGroup.staff-staff-spacing of \Staff (a single
> stand-alone stave, the lowest level in grouping hierarchy) to the values
> found in the staff-grouper (in my example, I've used the default values).
>
> \layout {
>   \context {
>     \Staff
>     \override VerticalAxisGroup.staff-staff-spacing =
>       #'((bavsic-distance . 9)
>         (minimum-distance . 7)
>         (padding . 1)
>         (stretchability . 5))
>   }
> }
>
> If set, these values will be automatically used even within different
> groups
> in the hierarchy.
> Background: VerticalAxisGroup.staff-staff-spacing is *not* specified by
> default and do by default, the spacing values will be "inherited" depending
> on the level of hierarchy.
>
>
> To demonstrate this, I've chosen a very small global-staff-size and
> deliberately forced stretching. Using Acrobat Reader's measuring feature,
> I've marked the gaps between the staves (see attached PDF).
>
> *Default vertical spacing* - vertical spacing between groups differs
> depending on grouping level.
> test-uniform-vertical-spacing-default.pdf
> <http://lilypond.1069038.n5.nabble.com/file/t3887/test-
> uniform-vertical-spacing-default.pdf>
>
> *Uniform vertical spacing* by explicitly setting
> Staff.VerticalAxisGroup.staff-staff-spacing
> test-uniform-vertical-spacing-proof.pdf
> <http://lilypond.1069038.n5.nabble.com/file/t3887/test-
> uniform-vertical-spacing-proof.pdf>
>
> In the second example, applying the layout changes just on in the \Staff
> context, there is absolutely the same vertical distance between all staves,
> ignoring any grouping.
>
> Cheerio,
> Torsten
>
>
>
>
>
>
> --
> Sent from: http://lilypond.1069038.n5.nabble.com/User-f3.html
>
> _______________________________________________
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to