Jump to content

Percent repeat counter

From LilyPond wiki
Revision as of 09:45, 4 December 2025 by Lemzwerg (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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 }
}