]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/bar-number.ly
Run scripts/auxiliar/update-with-convert-ly.sh
[lilypond.git] / input / regression / bar-number.ly
index 9a3fd2a534f7d6fd37c03953a9adece521a5053d..719c3f7acba4113ef9e055d0a5f4a234d4ac450e 100644 (file)
@@ -1,18 +1,26 @@
 
+\version "2.16.0"
+
 \header {
-texidoc="Bar number settable and padding adjustable.";
+
+texidoc="Bar numbers may be set and their padding adjusted individually.  
+The counting of bar numbers is started after the anacrusis.
+
+To prevent clashes at the beginning of a line, the padding may have to 
+be increased.
+"
+
+}
+
+\layout {
+  ragged-right = ##t
 }
 
-\score {
-  \notes \relative c'' {
-     c1 c\break
-     c1 c\break
-     \property Score.currentBarNumber = #25
-     \property Score.BarNumber \override #'padding = #3
-     c1 c\break
-  }
-  \paper {
-    linewidth = 40*\staffspace;
-    % \translator { \BarNumberingStaffContext }
-  }
+\relative c'' {
+  \override Score.BarNumber #'break-visibility = #all-visible
+  \partial 4 c4 
+  c1 c c
+  \set Score.currentBarNumber = #99999
+  \override Score.BarNumber  #'padding = #3
+  c1 c
 }