lilypond-user
[Top][All Lists]
Advanced

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

Re: access font-size of clef G_8


From: Noeck
Subject: Re: access font-size of clef G_8
Date: Thu, 4 Feb 2016 11:50:58 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1

Thanks David for the explanation! The first part is clear now.

> Also a) changes a single context definition while b) changes all context
> definitions that have an alias of "Score" as well (for "Score" that's
> rather unlikely, but for "Staff" there are a lot more candidates).

That's interesting, I tested with a VaticanaStaff
\context { \Staff \override StaffSymbol.color = #green } % no changes
\override Staff.StaffSymbol.color = #blue  % changes the VaticanaStaff
as you described.

>> And does this difference change anything if it is put in a global
>> (i.e.  score-wide) \layout block?
> 
> No.

Sorry for being unclear. I wanted to ask: Does the following difference
between changes on Score and Staff level change anything if put in a
global \layout block?

>> 1)  \override Score.ClefModifier.font-size = #2
>> 2)  \override Staff.ClefModifier.font-size = #2
>>
>> 1) Changes all clef modifiers in the whole score and 2) in every staff
>> in the score. As the clef modifier occurs in a staff, this sounds
>> identical to me. Are there situation where the effect differs?
> 
> Depends on the context definitions in ly/engraver-init.ly.  Does not
> appear like ClefModifier is touched there (after initializing it in
> Global from all-grob-descriptions).
> 
> So any such situation will be created by yourself.

Could you tell me what such a situation would be (ClefModifier is just
an example) for any grob in any context? When would there be a
difference? I still can't see it.

TIA,
Joram



reply via email to

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