This has been on the list before (or maybe the LSR) since I know I didn't come up with it myself, but here's how I do it:
<< { \repeat volta 5 { c1 ~ } c1 } \new Voice { \set countPercentRepeats = ##t \override PercentRepeatCounter #'font-size = #-3 \override PercentRepeatCounter #'padding = #2.5 \override PercentRepeat #'transparent = ##t \repeat percent 6 { s1 } } >> --Steven -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Reinhold Kainhofer Sent: Wednesday, April 09, 2008 8:57 AM To: Mats Bengtsson; lilypond-user@gnu.org Subject: Re: Number over the percent repeat? Am Mittwoch, 9. April 2008 schrieben Sie: > Reinhold Kainhofer wrote: > > Am Mittwoch, 9. April 2008 schrieb Graham Percival: > >> Stan Mulder <[EMAIL PROTECTED]> wrote: > >>> In a percent repeat, can I get the number of measures to be repeated > >>> over the double percent sign? > >> > >> It's the second example in the 2.11 docs. > > > > While we are at it: Is there something similar for long tied notes and > > for rests over multiple measures? > > Good question! The following attempt didn't work ;-) > \set restNumberThreshold = #0 R1*5 No, because that's no what I'm after. What I want is something like: R1^"1" | R1^"2" | R1^"3" | R1^"4" | R1^"5" only that it should not look like some ordinary text markup, but like the multi-measure rest numbers. You see this every now and then in old hand-engraved sacral pieces. I admit that the first time I saw this, I was confused why they had multi-measure rest numbers 1 and 2 above the rests (i.e. I first thought it was three measures rest instead of two), but once you know that, it can be quite useful. The thing is that if you want to transcribe old editions as close as possible to the original edition, you'll need something like that. I probably wouldn't use it in a new edition, though. However, for long tied notes, this is still used today and quite useful: Something like: c1~^"1" | c1~^"2" | c1~^"3" | c1~^"4" | c1~^"5" | c1~^"6" | c1~^"7" | c1~^"8" | c1~^"9" | c1^"10" | Again, the numbers should not look like text markup, but rather like multi-measure rest numbers. And I don't want to count the notes manually ;-) Cheers, Reinhold -- ------------------------------------------------------------------ Reinhold Kainhofer, Vienna University of Technology, Austria email: [EMAIL PROTECTED], http://reinhold.kainhofer.com/ * Financial and Actuarial Mathematics, TU Wien, http://www.fam.tuwien.ac.at/ * K Desktop Environment, http://www.kde.org, KOrganizer maintainer * Chorvereinigung "Jung-Wien", http://www.jung-wien.at/ _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user