Jump to content

Percent repeat counter: Difference between revisions

From LilyPond wiki
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
No edit summary
Line 9: Line 9:


[[Category:Repeats]]
[[Category:Repeats]]
[[Category:Included in the official documentation]]
[[Category:Included in the official documentation]][[Category:Snippet]]

Revision as of 22:57, 21 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 }
}