Nathan <when.possi...@gmail.com> writes: > \version "2.14.2" > > contempPath = #'((moveto 0.0 0.0) > (curveto -1.1 1.1 -0.5 1.5 0.5 0.5) > (lineto 1.1 1.1) > (closepath)) > > #(define-markup-command (contempSignMarkup layout props) () > (interpret-markup layout props > (markup #:override '(filled . #t) #:path 0.25 contempPath))) > > contempSign = \markup \contempSignMarkup > > \relative c'' { > c16-.^\contempSign r8 > } > > Feel free to adjust the points in \contempPath so the shape is more to > your liking. > > Note that you can't do c16\contempPath. You have to attach it using -, > ^, or _.
Two notes: why don't you call the markup command just contempSign? Since markups have a different namespace, contempSignMarkup is quite redundant. And why don't you define contempSign = -\markup \contempSignMarkup if contempSign is supposed to be used as postevent anyway? Then you _can_ do c16\contempSign [sic]. -- David Kastrup _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user