Hello everybody,in the attachment you’ll find an example for a function which I use to make dynamics slightly overlap with staff lines for saving space. It used to work up to 2.19.8, but now (tested with 2.19.15 and .16) negative values of Y-offset remain without effect inspite of outside-staff-priority being unset. Can anyone tell me how to update the function? (It should be backward-compatible.)
Thanks in advance, Simon
% 2.19.8 works, 2.19.15 doesnât \version "2.19.16" \paper { #(set-paper-size "a10" 'landscape) } \header { tagline = ##f } % permits the y-offset argument to be omitted off = #(define-music-function (parser location x y ev) (number? (number? #f) ly:music?) #{ -\tweak X-offset $x $(if y #{ -\tweak Y-offset $y $ev #} #{ $ev #}) #}) \score { { c'-\off 0 -1 \f } \layout { \context { \Voice \dynamicUp \override DynamicText.outside-staff-priority = ##f \override DynamicLineSpanner.outside-staff-priority = ##f } } }
off-function-2.19.16-fail.pdf
Description: Adobe PDF document
_______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user