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 {
   #(layout-set-staff-size 20.0)
}

#(begin
  (newline)
  (display (ly:output-def-lookup $defaultpaper 'staff-height))
  (newline)
  (display (/ (ly:output-def-lookup $defaultpaper 'staff-height) (ly:pt 1) ))
  (newline))

\new Staff { b }

--
Timothy Lanfear, Bristol, UK.


Reply via email to