X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Documentation%2Fsnippets%2Faligning-bar-numbers.ly;h=321f4cb3d748742a6cab82106332dcf0bd4c86d3;hb=13da8b27aabc5d5a752d00ed1e2b99ad20f0f264;hp=e09a298f332c9b9cbfc9c8b079c8259c1028093c;hpb=516cae503bc2b55e95604b0c0f681a6ccddcfab2;p=lilypond.git diff --git a/Documentation/snippets/aligning-bar-numbers.ly b/Documentation/snippets/aligning-bar-numbers.ly index e09a298f33..321f4cb3d7 100644 --- a/Documentation/snippets/aligning-bar-numbers.ly +++ b/Documentation/snippets/aligning-bar-numbers.ly @@ -4,7 +4,7 @@ %% and then run scripts/auxiliar/makelsr.py %% %% This file is in the public domain. -\version "2.16.0" +\version "2.17.6" \header { lsrtags = "rhythms" @@ -22,16 +22,16 @@ positioned directly over the bar line or left-aligned to the bar line. \relative c' { \set Score.currentBarNumber = #111 - \override Score.BarNumber #'break-visibility = #all-visible + \override Score.BarNumber.break-visibility = #all-visible % Increase the size of the bar number by 2 - \override Score.BarNumber #'font-size = #2 + \override Score.BarNumber.font-size = #2 % Print a bar number every second measure \set Score.barNumberVisibility = #(every-nth-bar-number-visible 2) c1 | c1 % Center-align bar numbers - \override Score.BarNumber #'self-alignment-X = #CENTER + \override Score.BarNumber.self-alignment-X = #CENTER c1 | c1 % Left-align bar numbers - \override Score.BarNumber #'self-alignment-X = #LEFT + \override Score.BarNumber.self-alignment-X = #LEFT c1 | c1 }