bug-lilypond
[Top][All Lists]
Advanced

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

Re: countPercentRepeats: print number "1"?


From: Alexander Kobel
Subject: Re: countPercentRepeats: print number "1"?
Date: Tue, 17 Aug 2010 22:57:38 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.11) Gecko/20100713 Lightning/1.0b1 Thunderbird/3.0.6

On 2010-08-17 22:50, Neil Puttock wrote:
On 17 August 2010 21:20, Xavier Scheuer<address@hidden>  wrote:

Is it possible to tweak "countPercentRepeats" in order to print the
number "1" above the first normal (i.e. with the notes instead of the
percent symbol) measure of a "percent repeated" measure?

No.  In the first bar, there's no PercentRepeat (and you can't force
one to be created).

Oops, sorry, I see now the difference between those options for a MultiMeasureRest and the PercentRepeat. For the former, there already is the grob, and it just lacks the number. In the second case, the number is not suppressed; rather, no PercentRepeat is there at all, and we have to dig deeper to create/simulate one. Anyway, the request sounds reasonable to me.

It's probably feasible using a scheme engraver: the counter would be
similar to a MultiMeasureRestText object, spanned between successive
barlines.

Such an engraver might be interesting to have in general - I can't see a simple way (other than hijacking the MultiMeasureRestText) to center a markup above a measure, right?


Cheers,
Alexander



reply via email to

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