Ok, so I've made a first pass and have something that works, see these files:

adjust-vert-spacing.ly
<http://lilypond.1069038.n5.nabble.com/file/n166124/adjust-vert-spacing.ly>  
adjust-vert-spacing-test.ly
<http://lilypond.1069038.n5.nabble.com/file/n166124/adjust-vert-spacing-test.ly>
  

There are two functions, one that scales the flexible vertical spacing paper
variables that affect spacing outside of systems:
http://lilypond.org/doc/v2.19/Documentation/notation/flexible-vertical-spacing-paper-variables

And one that scales the flexible vertical spacing grob-properties that
affect spacing within systems:
http://lilypond.org/doc/v2.19/Documentation/notation/flexible-vertical-spacing-within-systems

This makes it easy to globally increase (or decrease) vertical spacing in
general without completely losing the basic proportions (and without losing
your wits in the dizzying number of settings that can be overridden).  Then,
if you want, you can still use overrides to fine-tune specific things
further.

Any advice on how this could be improved?  Currently padding is scaled, but
I wonder whether only scaling minimum-distance and maximum-distance (and not
padding) would be better?  For some things there is only a padding value, so
without padding they wouldn't be scaled at all.

Currently the only properties that are being scaled are those that are
explicitly set for each grob or context/engraver (in ly/engraver-init.ly and
scm/define-grobs.scm).  I wonder if there are also default values in effect
for the properties that aren't explicitly set, that should also be scaled. 
If there are, I haven't found them yet.

The default values are currently just hardcoded in the functions.  Still
wondering how to avoid this and whether it would be worth the trouble.  For
the grob properties it seems that they are "calculation-in-progress" unless
you use after-line-breaking, which is probably too late to make changes. 
Maybe custom engravers?

Suggestions welcome.

Cheers,
-Paul



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Adjusting-overall-vertical-spacing-in-general-tp166087p166124.html
Sent from the User mailing list archive at Nabble.com.

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to