Hi Kaj (et al.),

> if I understand it correct, the effective (resulting) distance will always be 
> the biggest of the three, hence
>    effective_distance = max(minimum-distance; basic-distance; padding).
> Is there any reason to use three, one should be sufficient.

If I understand correctly, three are required for compression and expansion 
calculations.

For example, consider

  ((basic-distance . 4) (minimum-distance . 2) (padding . 1) (stretchability . 
10))

When compressing a page, I believe #'stretchability is applied [inversely] 
against

    basic-distance - miminum-distance

which in this case is 2 staff spaces. If instead you had

  ((basic-distance . 2) (minimum-distance . 2) (padding . 2) (stretchability . 
10)),

I believe there could/would be no compression done.

Others (e.g., Keith) will have a more complete and accurate understanding of 
the intricacies of the spacing model — hopefully someone will chime in here to 
expand upon or correct what I’ve said.

Hope this helps,
Kieren.
_______________________

Kieren MacMillan, composer
www:  <http://www.kierenmacmillan.info>
email:  i...@kierenmacmillan.info


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

Reply via email to