On Fri, Feb 17, 2012 at 10:37 PM, David Kastrup <d...@gnu.org> wrote: > Two more notes: StudlyCaps are not the style used for markup commands, > you'd use contemp-sign for the markup. And putting the path in a > separate variable to keep the markup macro from messing with it seems > awkward. > > There is also no need for an option-less markup command. > > And putting this together with some goodness from the current release > candidate for the next stable version (and assuming that the sign > belongs up by default as a postevent) we get > > \version "2.15.30" > > > #(define-markup-command (contemp-sign layout props) () > (interpret-markup layout props > #{ \markup \override #'(filled . #t) \path #'0.25 > #'((moveto 0.0 0.0) > (curveto -1.1 1.1 -0.5 1.5 0.5 0.5) > (lineto 1.1 1.1) > (closepath)) > #})) > > contempSign = ^\markup \contemp-sign > > \relative c'' { > c16-.\contempSign r8 > } > > > -- > David Kastrup > > > _______________________________________________ > lilypond-user mailing list > lilypond-user@gnu.org > https://lists.gnu.org/mailman/listinfo/lilypond-user
I admit that I adapted that from a snippet; it must be outdated. Thanks! _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user