]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/lsr/aligning-and-centering-instrument-names.ly
Merge commit 'origin'
[lilypond.git] / input / lsr / aligning-and-centering-instrument-names.ly
index a7eb7647c20079b1d71259414bed7ca30d3e96ce..9b4b87db7b9e6188ff576e9d8a5ba61513737369 100644 (file)
@@ -1,12 +1,13 @@
 %% Do not edit this file; it is auto-generated from input/new
 %% This file is in the public domain.
-\version "2.11.61"
+%% Note: this file works from version 2.12.0
+\version "2.13.1"
 
 \header {
   texidoces = "
 Los nombres de instrumento se imprimen generalmente a la izquierda de
 los pentagramas.  Para alinear los nombres de varios instrumentos
-distintos, sitúelos dentro de un bloque @code{\markup} y utilice una
+distintos, sitúelos dentro de un bloque @code{\\markup} y utilice una
 de las siguientes posiblidades:
 
 *
@@ -15,14 +16,14 @@ de las siguientes posiblidades:
   
 *
     Nombres de instrumento centrados: la utilización de la instrucción
-    @code{\hcenter-in #n} sitúa los nombres de instrumento dentro de
+    @code{\\hcenter-in #n} sitúa los nombres de instrumento dentro de
     un rectángulo separado, donde @code{n} es la anchura del
     rectángulo
   
 * 
     Nombres de instrumento alineados por la izquierda: los nombres se
     imprimen en la parte superior de un rectángulo vacío, utilizando
-    la instrucción @code{\combine} con un objeto @code{\hspace #n}.
+    la instrucción @code{\\combine} con un objeto @code{\\hspace #n}.
 
 "
   doctitlees = "Alinear y centrar los nombres de instrumento"
@@ -36,12 +37,16 @@ first and the following systems, respectively."
   doctitle = "Aligning and centering instrument names"
 } % begin verbatim
 
-\paper { left-margin = 3\cm }
+
+\paper {
+  left-margin = 3\cm
+}
+
 \score {
   \new StaffGroup <<
     \new Staff {
       \override Staff.InstrumentName #'self-alignment-X = #LEFT
-      \set Staff . instrumentName = \markup \left-column {
+      \set Staff.instrumentName = \markup \left-column {
         "Left aligned"
         "instrument name"
       }
@@ -53,7 +58,7 @@ first and the following systems, respectively."
     \new Staff {
       \override Staff.InstrumentName #'self-alignment-X = #CENTER
       \set Staff.instrumentName = \markup \center-column {
-        "Centered"
+        Centered
         "instrument name"
       }
       \set Staff.shortInstrumentName = #"Centered"