lilypond-user
[Top][All Lists]
Advanced

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

Re: How to reset a SystemStartBracket-override?


From: David Nalesnik
Subject: Re: How to reset a SystemStartBracket-override?
Date: Mon, 19 Sep 2011 19:52:46 -0500



On Mon, Sep 19, 2011 at 7:23 PM, David Nalesnik <address@hidden> wrote:


On Mon, Sep 19, 2011 at 7:15 PM, David Nalesnik <address@hidden> wrote:

 \version "2.14.2"

#(define (my-callback grob)
   (let* ((orig (ly:grob-original grob))
          (siblings (if (ly:grob? orig)
                        (ly:spanner-broken-into orig)
                        '())))
     (if (eq? (car siblings) grob)
         red)))

Hi, again --

Attached is a extension of this which allows you to apply a list of colors to the starting brackets.  If there are more lines than colors, we revert to black.  Just for fun :)

-David 

Attachment: SystemStartBracket.ly
Description: Binary data


reply via email to

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