Hi Joram,
Time has gone since you helped me to understand the vertical spacing
mystery in LilyPond. Well I am not ready yet for the big battle, but a
lot has been clear since. And a lot of thanks for your very valuable
sheet compiling the different items. But not always I have got things
work the way I wished, and more than once I have been ready to give up
the LilyPond project. Today I found something in your sheet loosening a
lot of knots. I think a small mistake has slipped into it. The left
column, lower part, says "\override
StaffGroup.StaffGrouper.staff-staff-spacing.padding = #2". At first this
sounds reasonable, but I think that StaffGroup should be substituted
with Score. Reading the Internals Reference confirms that the context
StaffGroup does not create the grob StaffGrouper and also that
StaffGrouper is not created by any engraver. Well, I am not the person
to account for all this, but after reading the Notation Reference
(http://lilypond.org/doc/v2.18/Documentation/notation/flexible-vertical-spacing-within-systems#spacing-of-grouped-staves)
and the example there, I feel encouraged to announce my experience. My
case worked with context Score but not with StaffGroup.
The next line however: "\override Staff.VerticalAxisGroup etc" is
perfectly correct as VerticalAxisGroup is created by Axis_Group_Engraver
which belongs to the context Staff. Possibly the context Staff could
also be use in the previous case, but I have not tested this.
Best regards
Kaj
Den 2015-02-21 14:04, skrev Noeck:
Hi Kaj, hi Lilypond users,
I also would like to say that again that spacing is a bit daunting. But I hope
with the help you got here, it is possible to adjust the spacing you need. The
deeper understanding will come with time and it is difficult if one wants to
understand everything at once.
To make the use of spacing settings easier, I put the most relevant settings on
this page:
http://joramberger.de/files/LilypondSpacing.pdf
The aim of this is not to explain everything – that is better done in the docs –
but to give a visual summary of the spacing settings and an example (on the
left) how to change them. If you know that there are different settings in the
paper and in the layout block and that there are fixed distances (in mm, cm, in)
and flexible spacings (minimum-distance, basic-distance, padding,
strechability), then this cheat sheet should make it easier to adjust all these
to your liking.
Cheers,
Joram
PS: Lyrics and other nonstaff spacings are to be done.
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user