lilypond-user
[Top][All Lists]
Advanced

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

Re: When to use overrideProperty instead of override?


From: Han-Wen Nienhuys
Subject: Re: When to use overrideProperty instead of override?
Date: Fri, 30 Dec 2005 17:00:57 +0100
User-agent: Mozilla Thunderbird 1.0.7-1.1.fc4 (X11/20050929)

Trevor Bača wrote:
Seems like

    \overrideProperty
    #"Score.NonMusicalPaperColumn"
    #'line-break-system-details
    #'((fixed-alignment-extra-space . 15))

works great, but that

    \override Score.NonMusicalPaperColumn #'line-break-system-details
= #'((fixed-alignment-extra-space . 15))

is silent.


Question: what's the intent of \overrideProperty? (Ie, when's the
right time to use \overrideProperty instead of \override?)

\override changes the initialization of a Grob. Since Score.NonMusicalPaperColumn grobs are created and initialized before a normal \override is processed, it has no effect on Score.NonMusicalPaperColumn doesn't work.

--
 Han-Wen Nienhuys - address@hidden - http://www.xs4all.nl/~hanwen




reply via email to

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