Jump to content

Percent repeat counter: Difference between revisions

From LilyPond wiki
Import snippet from LSR
 
m Replace version="2.24.0" with version="2.24" now that the LilyWiki extension supports auto-selecting the latest release in a stable series
Line 1: Line 1:
Measure repeats of more than two repeats can get a counter when the convenient property is switched, as shown in this example:
Measure repeats of more than two repeats can get a counter when the convenient property is switched, as shown in this example:


<lilypond version="2.24.0">
<lilypond version="2.24">
\relative c'' {
\relative c'' {
   \set countPercentRepeats = ##t
   \set countPercentRepeats = ##t

Revision as of 18:50, 16 November 2025

Measure repeats of more than two repeats can get a counter when the convenient property is switched, as shown in this example:

\version "2.24"

\relative c'' {
  \set countPercentRepeats = ##t
  \repeat percent 4 { c1 }
}