Stefan Thomas <kontrapunktstefan <at> googlemail.com> writes:
>
> I thought it would be possible to change the staffgroup-staff-spacing in
> the middle of a piece.
I would have thought so, too.
> Unfortunately, it doesn't work.How can I avoid the collision in bar 2
> without increasing the staffgroup-staff-spacing generally?
I like to enforce extra clearance with
\once\override Staff.SustainPedal #'minimum-Y-extent = #'(-3 . 0)
or
\once\override NoteHead #'minimum-Y-extent = #'(0 . 3)
before the particular thing that needs more space.
There is also a way to ask LilyPond to ensure horizontal clearance when
deciding
how close staves may come vertically:
\layout { \context {
\PianoStaff \override VerticalAxisGroup #'skyline-horizontal-padding = #1
}}
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user