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.
It's interesting: changing the ragged-bottom variables also changes the number
of staves that LP uses to engrave the music. With them set to ##t it uses 2
staves, ##f uses 3. No idea why!
Best regards,
Peter
mailto:[email protected]
www.ptoye.com
-------------------------
Wednesday, July 24, 2019, 5:03:07 PM, Thomas Morley wrote:
> Am Mi., 24. Juli 2019 um 14:26 Uhr schrieb Jean
> ABOU SAMRA <[email protected]>:
>> 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.
> 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).
> HTH,
> Harm
> \version "2.19.83"
> mus = { R1 \break R }
> staff-group =
> <<
> \new Staff \mus
> \new Staff \mus
> %%%%%%%%
> %% One StaffGroup per system
> %%%%%%%%
> \bookpart {
> \markup \rounded-box \fill-line { "One
> StaffGroup per system, default" }
> \new StaffGroup
> \staff-group
> \markup \rounded-box \fill-line {
> "One StaffGroup per system, changed spacing between
> staves via StaffGrouper.staff-staff-spacing"
> }
> \new StaffGroup
> \with {
> \override
> StaffGrouper.staff-staff-spacing.padding = #30
> }
> \staff-group
> }
> \bookpart {
> \markup \rounded-box \fill-line {
> \wordwrap-string #"One StaffGroup per
> system, changed spacing between
> StaffGroups via paper-setting of
> \"system-system-spacing.padding\""
> }
> \paper {
> system-system-spacing.padding = 30
> }
> \new StaffGroup
> \staff-group
> }
> \bookpart {
> \markup \rounded-box \fill-line {
> "One StaffGroup per system, distributed
> over whole page via paper-setting
> of \"ragged-last-bottom\", "
> }
> \paper {
> ragged-last-bottom = ##f
> }
> \new StaffGroup
> \staff-group
> }
> %%%%%%%%
> %% Two StaffGroup per system
> %%%%%%%%
> \bookpart {
> \markup \rounded-box \fill-line {
> \wordwrap-string #"Two StaffGroup per
> system, changed spacing between
> the two StaffGroups via
> StaffGrouper.staffgroup-staff-spacing"
> }
> <<
> \new StaffGroup
> \with {
> \override
> StaffGrouper.staffgroup-staff-spacing.padding = 30
> }
> \staff-group
> \new StaffGroup
> \staff-group
> }
> \bookpart {
> \markup \rounded-box \fill-line {
> \wordwrap-string #"Two StaffGroups per
> system, distributed over whole page
> via paper-setting of \"ragged-last-bottom\",
> and several spacing-variables
> with stretchability set to a high value in
> order to give LilyPond full freedom
> to space as she likes."
> }
> \paper {
> ragged-last-bottom = ##f
> system-system-spacing.stretchability = 1000
> markup-system-spacing.stretchability = 1000
> last-bottom-spacing.stretchability = 1000
> }
> <<
> \new StaffGroup
> \with {
> \override
> StaffGrouper.staffgroup-staff-spacing.stretchability = 1000
> \override
> StaffGrouper.staff-staff-spacing.stretchability = 1000
> }
> \staff-group
> \new StaffGroup
> \with {
> \override
> StaffGrouper.staff-staff-spacing.stretchability = 1000
> }
> \staff-group
> }_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user