lilypond-user
[Top][All Lists]
Advanced

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

Re: voiceOneStyle etc.


From: Trevor Daniels
Subject: Re: voiceOneStyle etc.
Date: Sun, 1 Feb 2015 20:18:30 -0000

"Noeck" wrote Sunday, February 01, 2015 4:00 PM

> the voiceOneStyle is defined in ly/property-init.ly.
> It only overrides the NoteHead, Stem and Beam.
> Is there a particular reason for this?

Yes.  They were written specifically to support certain examples in the
documentation. Those particular grobs were the only ones used in those 
examples.
 
> I wrote my own definitions for a project, including Rests (!), TextScript,
> Script, Slur and Tie:
> 
> voiceStyleFour = {
>  \override NoteHead.style = #'harmonic-mixed
>  \override NoteHead.color = #(x11-color 'OrangeRed)
>  \override Stem.color = #(x11-color 'OrangeRed)
>  \override Beam.color = #(x11-color 'OrangeRed)
>  \override Rest.color = #(x11-color 'OrangeRed)
>  \override TextScript.color = #(x11-color 'OrangeRed)
>  \override Script.color = #(x11-color 'OrangeRed)
>  \override Slur.color = #(x11-color 'OrangeRed)
>  \override Tie.color = #(x11-color 'OrangeRed)
> }
> There are more, like Fingerings etc.
> Would that be interesting to add to property-init.ly or not?
>
> In addition (separated from the first proposal and clearly more subjective), I
> find it rather old-fashioned to use the standard four colours for this (red
> green blue magenta). How about a change here?
> My personal settings are: firebrick RoyalBlue ForestGreen OrangeRed
> for voice 1-4.

Well, possibly, if you think it generally useful.  However, if you change
the shape of the note head or the colours you'll have to change all the
text accompanying the examples which use them in the documentation.
And the colours will need to have clear names so the text reads
nicely.  Red, Green, Blue are snappy, easily understood by non-English
readers, and clearly distinguished visually.  Your suggested colours
might be prettier, but that is not the primary requirement here.
 
I think the main use is throughout this section
http://www.lilypond.org/doc/v2.19/Documentation/learning/voices-contain-music
but you'll need to do a proper search to be sure there are no more.

Trevor



reply via email to

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