lilypond-devel
[Top][All Lists]
Advanced

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

Re: how does uniform-stretching work?


From: Mats Bengtsson
Subject: Re: how does uniform-stretching work?
Date: Thu, 23 Feb 2006 09:59:25 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050511

The syntax already exists:
\new Staff \with{...}{...}

What could be added is a warning printout saying that the setting does
not have any effect, if it's done after the creation of the context.

   /Mats

Juergen Reuter wrote:

On Tue, 21 Feb 2006, Han-Wen Nienhuys wrote:

...

there is only 1 SpacingSpanner in the entire score. You can only override it at the start.


Just a half-baken, weired idea (and not at all thoroughly thought through): Are there much more examples of properties that can be overridden only once at start? For example, StaffSymbol #'line-count comes into my mind. If yes, and if the syntax for 3.0 will change anyway heavily, you may want to model these properties as arguments that are passed to a context upon instantiation, maybe something like:

\new Staff = "chant" [StaffSymbol #'line-count = #4] { \myMusic }

If the user tries to modify line-count at any other place than at context instantiation, lily could emit an error, saying that this property may only be initialized once at context instantiation.

However, if there are only very few such properties, then it's probably not at all worth introducing a new syntactical construct.

Greetings,
Juergen


_______________________________________________
lilypond-devel mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/lilypond-devel


--
=============================================
        Mats Bengtsson
        Signal Processing
        Signals, Sensors and Systems
        Royal Institute of Technology
        SE-100 44  STOCKHOLM
        Sweden
        Phone: (+46) 8 790 8463                         
       Fax:   (+46) 8 790 7260
        Email: address@hidden
        WWW: http://www.s3.kth.se/~mabe
=============================================





reply via email to

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