lilypond-user
[Top][All Lists]
Advanced

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

Fwd: \set - \override #(set


From: Damian leGassick
Subject: Fwd: \set - \override #(set
Date: Sat, 26 Mar 2011 22:20:48 +0000

or to put it another way...

how would I know that Score.BarNumber is a context property rather than a 
element description?

and why isn't the accidental style a context property or an element description?

:-)

Damian

> 
> 
> On 26 Mar 2011, at 22:13, Francisco Vila wrote:
> 
>> 2011/3/26 Damian leGassick <address@hidden>:
>>> Hi all
>>> 
>>> I've been using lilypond for years but I still can't figure out the 
>>> rationale for
>>> 
>>> e.g.
>>> 
>>> bar numbers - why us it:
>>> 
>>> \override Score.BarNumber #'break-visibility blah (note capital B)
>>> 
>>> but
>>> 
>>> \set Score.currentBarNumber #blah (note camelCase)
>>> 
>>> and why #(set-accidental-style etc
>>> 
>>> and not
>>> 
>>> \set Score.accidentalStyle or even \set Score.Accidental style
>>> 
>>> is there any easy way to remember whether it's \set \override or #(set*?
>> 
>> set is for context properties and override is for element
>> descriptions, according to
>> http://lilypond.org/doc/v2.12/Documentation/user/lilypond/set-versus-override.html
>> 
>> as for #(set-whatever , they are predefined one-word commands for
>> convenience, which give values to internal variables that are not
>> context properties or element descriptions.
>> -- 
>> Francisco Vila. Badajoz (Spain)
>> www.paconet.org , www.csmbadajoz.com
> 




reply via email to

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