Re: Get current staff size

2020-04-10 Thread Valentin Villenave
On 4/10/20, Kevin Barry wrote: > As it happens, I found another solution Good job! Now, if you’ve found a solution with which you’re happy, could you try and build a nice snippet for the LSR? (Explaining why this is useful, and why it’s tricky to achieve.) It may help people who’d stumble upon

Re: Get current staff size

2020-04-10 Thread Kevin Barry
Hi All, Thank you for your suggestions. I did try using the StaffSymbol's staff-height, but that seems to be in staff spaces (with a little added on for the staff lines), so it's always just a little above 4. Timothy's suggestions works (I never would have found ly:pt). As it happens, I found an

Re: Get current staff size

2020-04-10 Thread Timothy Lanfear
On 10/04/2020 13:24, Noeck wrote: Am 10.04.20 um 14:12 schrieb Valentin Villenave: (* 4 (ly:output-def-lookup This yields 16 for a default staff here. Should the factor be 5? Cheers, Joram Try this instead, which displays the staff height in mm and pt \version "2.20.0" \paper {    #(l

Re: Get current staff size

2020-04-10 Thread Noeck
Am 10.04.20 um 14:12 schrieb Valentin Villenave: > (* 4 (ly:output-def-lookup This yields 16 for a default staff here. Should the factor be 5? Cheers, Joram

Re: Get current staff size

2020-04-10 Thread Valentin Villenave
On 4/9/20, Kevin Barry 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"

Get current staff size

2020-04-09 Thread Kevin Barry
Hi Lilypond users, Is there a way to obtain the current value of the staff size as set with set-global-staff-size (or the layout version)? Kevin