lilypond-devel
[Top][All Lists]
Advanced

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

Re: Figured Bass commands in property-init.ly


From: Mats Bengtsson
Subject: Re: Figured Bass commands in property-init.ly
Date: Wed, 21 May 2008 17:36:05 +0200
User-agent: Thunderbird 2.0.0.5 (X11/20070716)



Carl D. Sorensen wrote:

My current thought is that it would be best to crete a separate macro for 
stacking-dir:

figuredBassStackingDirUpOn = {
  \override BassFigureAlignment #'stacking-dir = #UP
  \override Staff.BassFigureAlignment #'stacking-dir = #UP
}

figuredBassStackingDirUpOff = {
  \override BassFigureAlignment #'stacking-dir = #DOWN
  \override Staff.BassFigureAlignment #'stacking-dir = #DOWN
}
Why not use the naming xxxUp and xxxDown, just as we have for \slurUp \slurDown, for example?
By way of standard practice, is it better to define figuredBassStackingDirUpOff 
as an \override (which makes it absolute, but keeps adding to the props list), 
or as a \revert, which undoes an override and thus prevents the props list from 
continuing to grow, but may not have the desired effet (i.e. if \revert is 
used, two *Ons followed by one *Off will result in an *On remaining).
If you look in ly/property-init.ly, you'll see that most xxxOff macros are implemented using
\revert.

  /Mats




reply via email to

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