]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/snippets/consistently-left-aligned-bar-numbers.ly
Issue 3827: remove the necessity to have a \layout block in a \markup \score ...
[lilypond.git] / Documentation / snippets / consistently-left-aligned-bar-numbers.ly
index ba2160197762585e200039472f372e5ac5e8bebe..f2b61e8e8dbd9ef0eb9b1c599b1965c69de8bf9d 100644 (file)
@@ -4,7 +4,7 @@
 %% and then run scripts/auxiliar/makelsr.py
 %%
 %% This file is in the public domain.
-\version "2.14.2"
+\version "2.17.6"
 
 \header {
   lsrtags = "rhythms"
@@ -19,8 +19,8 @@ first bar number following line breaks.
 } % begin verbatim
 
 consistentlyLeftAlignedBarNumbers = {
-  \override Score.BarNumber #'break-visibility = #end-of-line-invisible
-  \override Score.BarNumber #'self-alignment-X =
+  \override Score.BarNumber.break-visibility = #end-of-line-invisible
+  \override Score.BarNumber.self-alignment-X =
     #(lambda (grob)
        (let ((break-dir (ly:item-break-dir grob)))
          (if (= break-dir RIGHT) RIGHT LEFT)))