]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/bar-number.ly
* lily/include/sequential-iterator.hh (class Sequential_iterator):
[lilypond.git] / input / regression / bar-number.ly
index e0617c0acc46273d4b41d448e1158a2488486070..668862e44c5857420a402bde0af728107e9b3450 100644 (file)
@@ -1,17 +1,25 @@
+\version "1.5.54"
+
 \header {
-texidoc="Bar number settable and padding adjustable.";
+
+texidoc="Bar number settable and padding adjustable.  Bar numbers
+start counting after the anacrusis."
+
 }
 
 \score {
   \notes \relative c'' {
-     c1 c\break
-     c1 c\break
-     \property Score.currentBarNumber = #25
-     \property Score.BarNumber \override #'padding = #3
-     c1 c\break
+      \partial 4 c4 
+      c1 c c
+      \property Score.currentBarNumber = #99999
+      \property Score.BarNumber \override #'padding = #3
+      c1 c
   }
   \paper {
-    linewidth = 40*\staffspace;
-    % \translator { \BarNumberingStaffContext }
+    linewidth = -1. \mm
+    \translator {
+       \ScoreContext
+       BarNumber \override #'visibility-lambda = #all-visible
+    }
   }
 }