On 2020-11-27 4:28 pm, Matthew Fong wrote:
Hello Aaron,

With respect to the scale factor of 5 that you are using. Is that depending
on staff size?

I'm using #(layout-set-staff-size 18) at the moment.

Yes, my comment mentioned the default staff space as 5pt. That is a 20pt staff size divided by 4 based on the standard 5-line staff symbol.

If you know you have a fixed staff size of 18pt, you could just calculate the distance by hand. 24/9 should be it, unless I flubbed my math. But if you don't feel like doing any manual computation...

%%%%
  \override VerticalAxisGroup.nonstaff-nonstaff-spacing =
    #(lambda (grob)
      (define (pt n)
        (* n (ly:output-def-lookup (ly:grob-layout grob) 'pt)))
      `((basic-distance . ,(pt 12))
        (minimum-distance . ,(pt 12))
        (padding . 0) (stretchability . 0)))
%%%%


-- Aaron Hill

Reply via email to