> -----Original Message----- > From: Marc Hohl [mailto:m...@hohlart.de] > Sent: Friday, January 03, 2014 1:25 PM > To: Daniel Rosen; lilypond-user@gnu.org > Subject: Re: Numbers over double percent repeats > > Am 03.01.2014 19:08, schrieb Marc Hohl: > > Am 03.01.2014 18:32, schrieb Marc Hohl: > >> Am 03.01.2014 16:17, schrieb Daniel Rosen: > >>>> -----Original Message----- > >> [...] > >>> > >>> Nope, that gives me a 2 over the first percent and a 3 over the > >>> second. I need both of them to have a 2. > >> > >> Ah, ok, sorry, I misunderstood your request completely. > >> > >> Perhaps > >> > >> http://lsr.dsi.unimi.it/LSR/Item?id=883 > >> > >> is of some use? > > > > D'oh, I should read the details, this doesn't work either :-( > > A bit hackish, but it works: > > \version "2.19.0" > > \score { > \new Staff { > \set countPercentRepeats = ##t > \override PercentRepeatCounter.stencil = #(lambda (grob) > (grob-interpret-markup grob (markup "1"))) > \override DoublePercentRepeatCounter.stencil = #(lambda (grob) > (grob-interpret-markup grob (markup "2"))) > \repeat percent 5 { e4 e e e } | > \repeat percent 5 { f4 f f f | > d4 d d d } | > } > } > > > Marc
Works for me. Thanks! DR _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user