]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/instrument-name-x-align.ly
Doc-es: various updates.
[lilypond.git] / input / regression / instrument-name-x-align.ly
index 190807c9502a45f45be6aa9c6ef6e7887673fb31..68d030ad856e51de1686e2ad73eedbf91a19d8a3 100644 (file)
@@ -2,26 +2,26 @@
 
   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.12.0"
+\version "2.17.6"
 \paper { left-margin = 3\cm }
 \score {
   \new StaffGroup <<
     \new Staff {
-      \override Staff . InstrumentName #'self-alignment-X = #LEFT
-      \set Staff . instrumentName = \markup \column {
+      \override Staff.InstrumentName.self-alignment-X = #LEFT
+      \set Staff . instrumentName = \markup \left-column {
        "Left aligned" "instrument name"
       }
       \set Staff . shortInstrumentName = "Left"
       c''1 \break c''
     }
     \new Staff {
-      \override Staff . InstrumentName #'self-alignment-X = #CENTER
+      \override Staff.InstrumentName.self-alignment-X = #CENTER
       \set Staff . instrumentName = \markup \center-column {
        "Centered" "instrument name"
       }
@@ -29,8 +29,8 @@ the following systems, respectively."
       g'1 g'
     }
     \new Staff {
-      \override Staff . InstrumentName #'self-alignment-X = #RIGHT
-      \set Staff . instrumentName = \markup \column \right-align {
+      \override Staff.InstrumentName.self-alignment-X = #RIGHT
+      \set Staff . instrumentName = \markup \right-column {
        "Right aligned" "instrument name"
       }
       \set Staff . shortInstrumentName = "Right"