]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/instrument-name-x-align.ly
Rerun scripts/auxiliar/update-with-convert-ly.sh
[lilypond.git] / input / regression / instrument-name-x-align.ly
index f2ae327906e190abe325f80a8474bb56a97b7eb0..9516a517c4337f2f0451531896c3ba39bc36db03 100644 (file)
@@ -2,18 +2,18 @@
 
   texidoc = "Instrument names horizontal alignment is tweaked by
 changing the @code{Staff.Instrument #'self-alignment-X} property.  The
-@code{\layout} variables @code{indent} and @code{short-indent} define
+@code{\\layout} variables @code{indent} and @code{short-indent} define
 the space where the instrument names are aligned before the first and
 the following systems, respectively."
 
 }
 
-\version "2.11.51"
+\version "2.17.6"
 \paper { left-margin = 3\cm }
 \score {
   \new StaffGroup <<
     \new Staff {
-      \override Staff . InstrumentName #'self-alignment-X = #LEFT
+      \override Staff.InstrumentName.self-alignment-X = #LEFT
       \set Staff . instrumentName = \markup \column {
        "Left aligned" "instrument name"
       }
@@ -21,15 +21,15 @@ the following systems, respectively."
       c''1 \break c''
     }
     \new Staff {
-      \override Staff . InstrumentName #'self-alignment-X = #CENTER
-      \set Staff . instrumentName = \markup \center-align {
+      \override Staff.InstrumentName.self-alignment-X = #CENTER
+      \set Staff . instrumentName = \markup \center-column {
        "Centered" "instrument name"
       }
       \set Staff . shortInstrumentName = "Centered"
       g'1 g'
     }
     \new Staff {
-      \override Staff . InstrumentName #'self-alignment-X = #RIGHT
+      \override Staff.InstrumentName.self-alignment-X = #RIGHT
       \set Staff . instrumentName = \markup \column \right-align {
        "Right aligned" "instrument name"
       }