lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Contemporary music


From: Nathan
Subject: Re: Contemporary music
Date: Sat, 18 Feb 2012 18:04:48 -0800

On Fri, Feb 17, 2012 at 10:37 PM, David Kastrup <address@hidden> 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
> address@hidden
> https://lists.gnu.org/mailman/listinfo/lilypond-user

I admit that I adapted that from a snippet; it must be outdated. Thanks!



reply via email to

[Prev in Thread] Current Thread [Next in Thread]