Hi David, 2017-04-24 1:34 GMT+02:00 David Nalesnik <david.nales...@gmail.com>: > On Sun, Apr 23, 2017 at 6:15 PM, Thomas Morley <thomasmorle...@gmail.com> > wrote: >> 2017-04-23 12:34 GMT+02:00 Andrew Bernard <andrew.bern...@gmail.com>: >> >>> Next thing to do is to achieve the half dashed/half solid appearance - or >>> can this be done already, in the same way that slurs can? >> >> How about: > > This is great!
Glad you like it. > >> >> #(define (solid-dashed-print-proc grob startx starty endx endy) >> (let* ((dash-def (ly:grob-property grob 'dash-definition)) >> (thick >> (* (layout-line-thickness grob) >> (ly:grob-property grob 'thickness 0.1)))) >> (if (null? dash-def) >> (ly:line-interface::line grob startx starty endx endy) >> (apply ly:stencil-add empty-stencil > > Why not reduce instead of apply? Tiny point, but then you won't have > the extra empty stencil in the stencil expression. True, so the above should read: [...] (reduce ly:stencil-add empty-stencil [...] Thanks, Harm _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user