3 texidoc = "Beams in hang, straddle sit positions, forced there using
10 #(define ps-testing #t)
13 \property Voice.Beam \override #'vertical-position-quant-function
14 = #(lambda (beam dy x staff-line)
15 (let* ((thick (ly-get-grob-property beam 'thickness))
16 (hang (- 1 (/ (- thick staff-line) 2))))
17 (append (list hang) (list (+ hang 1)))))
20 \property Voice.Beam \override #'vertical-position-quant-function
21 = #(lambda (beam dy x staff-line) '(0 1))
24 \property Voice.Beam \override #'vertical-position-quant-function
25 = #(lambda (beam dy x staff-line)
26 (let* ((thick (ly-get-grob-property beam 'thickness))
27 (sit (/ (- thick staff-line) 2)))
28 (append (list sit) (list (+ sit 1)))))