bug-lilypond
[Top][All Lists]
Advanced

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

Re: Center a number above a measure


From: Colin Hall
Subject: Re: Center a number above a measure
Date: Wed, 28 Mar 2012 20:54:36 +0100
User-agent: Mutt/1.5.20 (2009-06-14)

On Wed, Mar 28, 2012 at 05:02:49PM +0100, James wrote:
> hello,
> 
> 2012/3/28 Clément Ryder <address@hidden>:
> ...etc.
> 
> So it seems that this is really the enhancement request stated before
> 
> http://code.google.com/p/lilypond/issues/detail?id=146 (if not
> exactly, in essence).

Both enhancement requests are on the same general topic, which is
automated counting of items (e.g. bars) in the music that are repeated.

This recent request from Clement, as Xavier pointed out, calls for
slightly more advanced features than the one which resulted in issue
146.

> I just don't see any value in poo-pooing useful suggestions, (complex
> or otherwise), for a problem that we already know about and is not
> implemented 'elegantly' in the code.
> 
> Eventually you just end up irritating people and they stop helping.

Understood, but I'm ok with the comments. Xavier's suggestion of using
that context property was a good one.

In summary then:

Lilypond does not have a feature for automated counting of arbitrary
items. See issue trackers 2445 and 146 for more information.

Code has been contributed for making a start on implementing this
feature. See the issue trackers above.

You can get a "1" above a single bar of full measure rest using this syntax:
{
  \set restNumberThreshold = #0
  R1 | R1 | R1 |
}

Lilypond does not support counting the first item of a percent repeat.

I hope Clement will prepare a simple documentation suggestion to make the role
of restNumberThreshold clearer.

Cheers,
Colin.

-- 

Colin Hall



reply via email to

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