]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/bar-number.ly
(print): always start from right edge of
[lilypond.git] / input / regression / bar-number.ly
index 668862e44c5857420a402bde0af728107e9b3450..aea7fae8357e04a68934c67ac10ce5bc94d9c6f3 100644 (file)
@@ -1,25 +1,30 @@
-\version "1.5.54"
+
+\version "2.3.4"
 
 \header {
 
-texidoc="Bar number settable and padding adjustable.  Bar numbers
-start counting after the anacrusis."
+texidoc="Bar number 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.
+"
 
 }
 
 \score {
-  \notes \relative c'' {
+   \relative c'' {
       \partial 4 c4 
       c1 c c
-      \property Score.currentBarNumber = #99999
-      \property Score.BarNumber \override #'padding = #3
+      \set Score.currentBarNumber = #99999
+      \override Score.BarNumber  #'padding = #3
       c1 c
   }
   \paper {
-    linewidth = -1. \mm
-    \translator {
-       \ScoreContext
-       BarNumber \override #'visibility-lambda = #all-visible
+    raggedright = ##t
+    \context {
+       \Score
+       \override BarNumber #'break-visibility = #all-visible
     }
   }
 }