X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Documentation%2Fsnippets%2Faligning-bar-numbers.ly;h=c65d4fa4af7f96e70879d32faec07e450e1f07cd;hb=5d84bfad4626892bcffd05adcced53c8a2329047;hp=94432c390392317b342fe68346da819f52b50164;hpb=ebc3cdab150ac7de7857043d301f784fd0f8aecc;p=lilypond.git diff --git a/Documentation/snippets/aligning-bar-numbers.ly b/Documentation/snippets/aligning-bar-numbers.ly index 94432c3903..c65d4fa4af 100644 --- a/Documentation/snippets/aligning-bar-numbers.ly +++ b/Documentation/snippets/aligning-bar-numbers.ly @@ -1,10 +1,10 @@ %% DO NOT EDIT this file manually; it is automatically -%% generated from LSR http://lsr.dsi.unimi.it +%% generated from LSR http://lsr.di.unimi.it %% Make any changes in LSR itself, or in Documentation/snippets/new/ , %% and then run scripts/auxiliar/makelsr.py %% %% This file is in the public domain. -\version "2.14.2" +\version "2.18.0" \header { lsrtags = "rhythms" @@ -19,19 +19,18 @@ positioned directly over the bar line or left-aligned to the bar line. doctitle = "Aligning bar numbers" } % begin verbatim - \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 }