lilypond-user
[Top][All Lists]
Advanced

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

Re: Measure Repeat Counter


From: Janek Warchoł
Subject: Re: Measure Repeat Counter
Date: Wed, 27 Aug 2014 20:02:14 +0200

2014-08-27 19:48 GMT+02:00 James <address@hidden>:
> On 27/08/14 18:47, James wrote:
> Perhaps this one?
>
> http://lsr.di.unimi.it/LSR/Item?id=473
>
> :)

You don't need to "abuse" PercentRepeats - there's a dedicated functionality:

{ c'1~ | \startMeasureCount c'~ | c'~ | c'~ | c'~ \stopMeasureCount | c'~ | c' }

\layout {
  \context {
    \Staff
    \consists #Measure_counter_engraver
  }
}

Unfortunately i don't know where it's documented, i only found
examples in regtests (input/regression/measure-counter.ly,
input/regression/measure-counter-broken.ly)
Perhaps the snippet should be deleted/updated?



reply via email to

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