Measure counter (obsolete in 2.17): Difference between revisions
Appearance
m Lemzwerg moved page Measure counter to Measure counter (obsolete in 2.17) without leaving a redirect |
mNo edit summary |
||
| Line 19: | Line 19: | ||
</lilypond> | </lilypond> | ||
[[Category:Editorial annotations]] | [[Category:Editorial annotations]] | ||
[[Category:Repeats]] | [[Category:Repeats]] | ||
[[Category: | [[Category:Staff notation]] | ||
[[Category:Workaround]] | [[Category:Workaround]] | ||
[[Category:Snippet]] | [[Category:Snippet]] | ||
Latest revision as of 14:29, 9 December 2025
This snippet provides a workaround for emitting measure counters using transparent percent repeats.
\version "2.24"
<<
\context Voice = "foo" {
\clef bass
c4 r g r
c4 r g r
c4 r g r
c4 r g r
}
\context Voice = "foo" {
\set countPercentRepeats = ##t
\hide PercentRepeat
\override PercentRepeatCounter.staff-padding = #1
\repeat percent 4 { s1 }
}
>>