Jump to content

Percent repeat counter: Difference between revisions

From LilyPond wiki
m New category
Tags: Mobile edit Mobile web edit
mNo edit summary
 
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 are printed with a counter if the <code>countPercentRepeats</code> context property is set.


<lilypond version="2.24">
<lilypond version="2.24">

Latest revision as of 09:45, 4 December 2025

Measure repeats of more than two repeats are printed with a counter if the countPercentRepeats context property is set.

\version "2.24"

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