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
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to