]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/test/bar-number-every-five-reset.ly
The grand \paper -> \layout, \bookpaper -> \paper renaming.
[lilypond.git] / input / test / bar-number-every-five-reset.ly
index ed92b5a59a3f5b3b2f99aea0ffb23608b422f0d2..20991b4f2b257521961b90651061a9a956b2f71b 100644 (file)
@@ -1,12 +1,13 @@
-\version "1.9.8"
+\version "2.3.22"
 
 \header {
     texidoc = "@cindex Bar Number Every Fifth Reset
 If you would like the bar numbers to appear at regular intervals, but
-not starting from measure zero, you can use the context function,
-@code{set-bar-number-visibility}, to automatically set
-@code{barNumberVisibility} so that the bar numbers appear at regular
-intervals, starting from the @code{\applycontext}.
+not starting from measure zero, you can use a context function,
+@code{set-bar-number-visibility}, to set automatically
+@code{barNumberVisibility}, so that the bar numbers appear at regular
+intervals, starting from the measure in which 
+@code{set-bar-number-visibility} is set using @code{\applycontext}.
 "
 
 }
@@ -15,9 +16,9 @@ resetBarnum = \context Score \applycontext
   #(set-bar-number-visibility 4)
 \score {
     <<
-        \notes \transpose c c'' {
-           \property Score.BarNumber \override #'break-visibility =#end-of-line-invisible
-           \property Score.RehearsalMark \override #'padding = #2.5
+         \transpose c c'' {
+           \override Score.BarNumber  #'break-visibility =#end-of-line-invisible
+           \override Score.RehearsalMark  #'padding = #2.5
            \mark "A" \resetBarnum
            \repeat unfold 10 c1
            \mark \default \resetBarnum
@@ -25,5 +26,5 @@ resetBarnum = \context Score \applycontext
             \bar "|."
         }
     >>
-\paper{raggedright = ##t}
+\layout{raggedright = ##t}
 }