X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Fregression%2Fbar-number.ly;h=da1155b0a13e5eca61b24652c95d218c809e05c7;hb=e45059ae37b240ce52639ad5c49110b510a89481;hp=4ea24600ed75385d3d85ab6fe6ed558645c53e27;hpb=aa76d0de152265e9913d7dc67c4fd8d923aec04b;p=lilypond.git diff --git a/input/regression/bar-number.ly b/input/regression/bar-number.ly index 4ea24600ed..da1155b0a1 100644 --- a/input/regression/bar-number.ly +++ b/input/regression/bar-number.ly @@ -1,30 +1,26 @@ -#(ly:set-option 'old-relative) -\version "1.9.1" + +\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 }