lilypond-user
[Top][All Lists]
Advanced

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

Re: StaffSymbol color change for just one measure?


From: Mats Bengtsson
Subject: Re: StaffSymbol color change for just one measure?
Date: Thu, 07 Sep 2006 22:21:29 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20060628 Debian/1.7.8-1sarge7.1

I don't see any simple way to achieve that, since the staff symbol
is treated as a single unit (as far as I know).

  /Mats

Rick Hansen (aka RickH) wrote:

Is there a way to change the staff symbol color, but just for one or a few
selected measures?

I tried embedding the following into the beginning of the measure I'd like
to change, it compiles, but the color does not change:

c d e f
|
\override Staff.StaffSymbol #'color = #red
a b c d
|
c d e f
|


BTW I also tried stopStaff startStaff but that introduces other bugs where
the staff extender lines disappear on notes outside the 5 staff lines, after
the next line break, but this looks like a program bug.

v2.8.5

Thanks
Rick




--
=============================================
        Mats Bengtsson
        Signal Processing
        Signals, Sensors and Systems
        Royal Institute of Technology
        SE-100 44  STOCKHOLM
        Sweden
        Phone: (+46) 8 790 8463                         
       Fax:   (+46) 8 790 7260
        Email: address@hidden
        WWW: http://www.s3.kth.se/~mabe
=============================================





reply via email to

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