Hi Pierre It works!
Thank you SO much! I would never have been able to do that on my own. Good to see you are still around Lilypond! Andrew, yes it is for guitar Thanks again! dirck ________________________________ From: [email protected] <[email protected]> on behalf of Pierre Perol-Schneider <[email protected]> Sent: Wednesday, November 9, 2022 9:31 PM To: Andrew Bernard <[email protected]> Cc: [email protected] <[email protected]> Subject: Re: Tie with slash (caesura) on the curve Hi Andrew, Hi Dirck, Le jeu. 10 nov. 2022 à 02:40, Andrew Bernard <[email protected]<mailto:[email protected]>> a écrit : Never say anything is technically unplayable for pianists. Some of the technical ability of contemporary players leaves me breathless. ... Actually it's for guitarists ;) On 10/11/2022 12:02 pm, Dirck Nagy wrote: ... I am trying to notate ties with a double-slash (caesura) along the curve. ... How about: \version "2.22.0" oldTie = \once \override Tie.after-line-breaking = #(lambda (grob) (let* ((stencil (ly:tie::print grob)) (dir (ly:grob-property grob 'direction)) (markup-stencil (grob-interpret-markup grob (markup #:scale (cons .8 0.5) (#:musicglyph "scripts.caesura.straight")))) (shift (- (interval-center (ly:stencil-extent stencil X)) (interval-center (ly:stencil-extent markup-stencil X)))) (new-stencil (ly:stencil-combine-at-edge stencil Y dir (ly:stencil-translate-axis markup-stencil shift X) -.63))) (ly:grob-set-property! grob 'stencil new-stencil))) { \clef"G_8" f'16 16 \oldTie 8~ 16 16 8 } HTH, cheers, Pierre
