bug-lilypond
[Top][All Lists]
Advanced

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

> I'm not top posting. colour setting problem with connected arpeggio? v


From: Esa Erola
Subject: > I'm not top posting. colour setting problem with connected arpeggio? v 2.12.2
Date: Sat, 29 Jan 2011 08:39:39 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

> I'm not top posting.

Hi,

I would like to ask about an issue, maybe not a big one, but I got stuck to this
for some reason.

My use case: I would like to use connected arpeggio bracket in one meaning with
a color and unconnected arpeggio in default color and format.

Running the script below setting and reverting color as well as setting and
reverting arpeggio bracket design works but set color does not appear in
connected arpeggios. The log looks clean.

Best Regards,
Esa

---------------------------------------------


\version "2.12.2"

\include "english.ly"


\score{

  \new StaffGroup  <<

  \new Staff { 

  \override Arpeggio #'color = #(x11-color 'red)  % set color for upper staff


     < c'' e'>1  \arpeggio                 % column 1

  \set StaffGroup.connectArpeggios = ##t      % set bracket connection on 


 % NOW, FROM HERE ON THE SET COLOR DOES NOT APPEAR IN THE CONNECTED ARPEGGIO

 \override StaffGroup.Arpeggio #'stencil = #ly:arpeggio::brew-chord-bracket
                                  % change arpeggio bracket

    < c'' e' > \arpeggio                   % column 2

 \revert StaffGroup.Arpeggio #'stencil  % revert to arpeggio wavy line default

     < d'' f' > \arpeggio                  % column 3

  \set StaffGroup.connectArpeggios = ##f  % set arpeggio connection off  
  
  % - AND FROM HERE ON THE SET COLOUR APPEARS IN THE NON CONNECTED ARPEGGIO


  \override StaffGroup.Arpeggio #'stencil = #ly:arpeggio::brew-chord-bracket
                              % change again arpeggio bracket

    < c'' e' > \arpeggio                  % column 4

  \revert StaffGroup.Arpeggio #'stencil % revert again to wavy line default

  \revert Arpeggio #'color                % revert color to default

   < d'' e' >  \arpeggio                  % column 5
}


    \new Staff { 

    \clef "bass"

 \override Arpeggio #'color = #(x11-color 'red)    % set arpeggio color

   < c g >1 \arpeggio                     % column 1

 \set StaffGroup.connectArpeggios = ##t   % set arpeggio connection on

% - HERE THE SET COLOUR DOES NOT APPEAR IN THE OUTPUT

  \override StaffGroup.Arpeggio #'stencil = #ly:arpeggio::brew-chord-bracket  
                            % change from default line to bracket 

  < c g >  \arpeggio                     % column 2
 
  \revert StaffGroup.Arpeggio #'stencil % revert to arpeggio wavy line default 


  < d a > \arpeggio                      % column 3

  \set StaffGroup.connectArpeggios = ##f   % set arpeggio connection off

    % - AND FROM HERE ON THE SET COLOUR APPEARS IN OUTPUT AGAIN

    \override StaffGroup.Arpeggio #'stencil = #ly:arpeggio::brew-chord-bracket 
                                % set again the bracket on

   < c g > \arpeggio                    % column 4

  \revert StaffGroup.Arpeggio #'stencil % revert to arpeggio wavy line default

         \revert Arpeggio #'color       % revert color to default

   < d a > \arpeggio           % column 5
 }

 >>
}





reply via email to

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