|
From: | Marc Hohl |
Subject: | Re: Numbers over double percent repeats |
Date: | Fri, 03 Jan 2014 19:24:42 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 |
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
[Prev in Thread] | Current Thread | [Next in Thread] |