On 4/9/20, Kevin Barry <barr...@gmail.com> wrote:
> Is there a way to obtain the current value of the staff size as set
> with set-global-staff-size (or the layout version)?

Would something like that help?

%%%

  \applyOutput Staff.StaffSymbol #(lambda (grob org cur)
   (ly:message "\nCurrent staff size is: ~a\n\n"
    (* 4 (ly:output-def-lookup
     (ly:grob-layout grob) 'staff-height)))) \new Staff { b }

%%%

Cheers,
V.

Reply via email to