X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Fregression%2Fbar-number.ly;h=da1155b0a13e5eca61b24652c95d218c809e05c7;hb=79c17e0eaedca79e5f7605f5b9f92db27c68e679;hp=634331192a351b09ba36da99f1a1dee5a7b17ce4;hpb=955f829883aa125b2b633b1e71f6256da5b773fa;p=lilypond.git diff --git a/input/regression/bar-number.ly b/input/regression/bar-number.ly index 634331192a..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.0" + +\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 }