Jump to content

Percent repeat counter: Difference between revisions

From LilyPond wiki
No edit summary
m New category
Tags: Mobile edit Mobile web edit
Line 9: Line 9:


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

Revision as of 23:35, 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 }
}