4 texidoc = "@cindex Bar Number Every Fifth Reset
5 If you would like the bar numbers to appear at regular intervals, but
6 not starting from measure zero, you can use the context function,
7 @code{set-bar-number-visibility}, to automatically set
8 @code{barNumberVisibility} so that the bar numbers appear at regular
9 intervals, starting from the @code{\applycontext}.
14 resetBarnum = \context Score \applycontext
15 #(set-bar-number-visibility 4)
18 \notes \transpose c c'' {
19 \property Score.BarNumber \override #'break-visibility =#end-of-line-invisible
20 \property Score.RehearsalMark \override #'padding = #2.5
21 \mark "A" \resetBarnum
23 \mark \default \resetBarnum
28 \paper{raggedright = ##t}