]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/bar-number.ly
Doc-es: various updates.
[lilypond.git] / input / regression / bar-number.ly
index 595677b041924f85048b0a9c3dc3490dedd3bc08..da1155b0a13e5eca61b24652c95d218c809e05c7 100644 (file)
@@ -1,30 +1,26 @@
 
-\version "1.9.8"
+\version "2.19.21"
 
 \header {
 
-texidoc="Bar number settable and padding adjustable.  Bar numbers
-start counting after the anacrusis.
+texidoc="Bar numbers may be set and their padding adjusted individually.  
+The counting of bar numbers is started after the anacrusis.
 
-The padding should be increased, to prevent clashes at the start of the line.
+To prevent clashes at the beginning of a line, the padding may have to 
+be increased.
 "
 
 }
 
-\score {
-  \notes \relative c'' {
-      \partial 4 c4 
-      c1 c c
-      \property Score.currentBarNumber = #99999
-      \property Score.BarNumber \override #'padding = #3
-      c1 c
-  }
-  \paper {
-    raggedright = ##t
-    \translator {
-       \ScoreContext
-       BarNumber \override #'break-visibility = #all-visible
-    }
-  }
+\layout {
+  ragged-right = ##t
+}
+
+\relative {
+  \override Score.BarNumber.break-visibility = #all-visible
+  \partial 4 c''4 
+  c1 c c
+  \set Score.currentBarNumber = #99999
+  \override Score.BarNumber.padding = #3
+  c1 c
 }