bug-lilypond
[Top][All Lists]
Advanced

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

Re: hideNotes does not work if you override color


From: Mats Bengtsson
Subject: Re: hideNotes does not work if you override color
Date: Mon, 14 Aug 2006 10:28:16 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.13) Gecko/20060417

Even worse, setting rotation doesn't work either if you set the color.
Example:

\version "2.8.0"
\relative c'{
 \override Hairpin #'rotation = #'(20 -1 0)
 g4\< b d f'\!
 \override Hairpin #'color = #(x11-color 'LimeGreen)
 g4\< b d f'\!
}

  /Mats

Matti Aaltonen wrote:

Hello.

I noticed that if you use \override color then \hideNotes does not work.

Cheers, Matti Aaltonen, Finland



\header {
 title = "If you color notes"
 subtitle = "then hideNotes doesn't work"
 source = ""
 composer = "Lily Pond"
 enteredby = ""
 copyright = "..."
}

\include "english.ly"
\version "2.8.5"

vocala = \context Staff \relative c'' \new Voice = melodya
       {

      \stemUp d8 d d d d d d d
        }
vocalb = \context Staff \relative c'' \new Voice = melodyb
       {
        \override NoteHead #'color = #(x11-color 'LimeGreen)
        \override Rest #'color = #(x11-color 'LimeGreen)
        \override Beam #'color = #(x11-color "LimeGreen")
     \override Stem #'color = #(x11-color 'LimeGreen)

\stemDown a8 a a a \hideNotes a a a a \unHideNotes }


\score { \new Staff = "treble" << \vocala \vocalb >>
        }





_______________________________________________
bug-lilypond mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/bug-lilypond

--
=============================================
        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]