bug-lilypond
[Top][All Lists]
Advanced

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

Re: Make defining new contexts simpler with better \alias functionality


From: Paul Morris
Subject: Re: Make defining new contexts simpler with better \alias functionality
Date: Sun, 8 Mar 2015 11:12:45 -0700 (MST)

David Kastrup wrote
> You are thinking too complicated.
> 
> \score {
>   <<
>     \new myVoice { c' d' e' f' }
>     \new myOtherVoice { e' f' g' a' }
>   >>
> 
>   \accept-like Voice myVoice
>   \accept-like Voice myOtherVoice
>   \layout {
>     \context {
>       \Voice
>       \name myVoice
>       \alias Voice
>       \override NoteHead.color = #blue
>     \context {
>       \Voice
>       \name myOtherVoice
>       \alias Voice
>       \override NoteHead.color = #green
>     }
>   }
> }

Nice! That solves that. 
-Paul




--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Make-defining-new-contexts-simpler-with-better-alias-functionality-tp172723p172823.html
Sent from the Bugs mailing list archive at Nabble.com.



reply via email to

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