|
From: | Jacques Menu |
Subject: | Re: Ornament question |
Date: | Sat, 15 Jan 2022 08:01:46 +0100 |
Hello Paul & al. Here is the link that Vincent sent to me (didn’t notice is was privately), with the solution I mentioned in my answer to the list: \version "2.22.1" % scoops, thanks to vgay@vintherine.org #(define (scoop-stencil grob) (ly:stencil-add (ly:note-head::print grob) (grob-interpret-markup grob (markup #:with-dimensions '(0 . 0) '(0 . 0) #:translate '(-0.2 . -0.5) #:path 0.25 '((moveto -0.2 0.5) (curveto 0.2 2 -1.2 2.5 -1.7 2.5)))))) scoopH = \once \override NoteHead #'stencil = #scoop-stencil #(define (scoop-stencil grob) (ly:stencil-add (ly:note-head::print grob) (grob-interpret-markup grob (markup #:with-dimensions '(0 . 0) '(0 . 0) #:translate '(-0.2 . -0.5) #:path 0.25 '((moveto 0 0) (curveto 0.2 -1 -1.2 -1.5 -1.7 -1.5)))))) scoopB = \once \override NoteHead #'stencil = #scoop-stencil \relative c'' { \scoopH c2 \scoopB c2 } JM
|
[Prev in Thread] | Current Thread | [Next in Thread] |