]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/lsr/aligning-and-centering-instrument-names.ly
Doc-es: pre-merge update of texidoc committishes.
[lilypond.git] / input / lsr / aligning-and-centering-instrument-names.ly
index e25b1eb1aabc693df5b5b09973409e04f5b01a33..a6ef00ea848c0964bbf3a46fbecc25b0bec5ae11 100644 (file)
@@ -1,28 +1,17 @@
 %% Do not edit this file; it is auto-generated from input/new
 %% This file is in the public domain.
-\version "2.11.62"
+%% Note: this file works from version 2.12.0
+\version "2.12.0"
 
 \header {
+%% Translation of GIT committish: 740b9a6c16eb30a84b216d23aeb848aa1b632be6
   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
-de las siguientes posiblidades:
-
-*
-    Nombres de instrumento alineados por la derecha: es el
-    comportamiento predeterminado
-  
-*
-    Nombres de instrumento centrados: la utilización de la instrucción
-    @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 alineación horizontal de los nombres de instrumento se puede
+trucar modificando la propiedad @code{Staff.InstrumentName
+#'self-alignment-X}.  Las variables de @code{\\layout}
+@code{indent} y @code{short-indent} definen el espacio en que se
+alinean los nombres de instrumento antes del primer sistema y de
+los siguientes, respectivamente.
 
 "
   doctitlees = "Alinear y centrar los nombres de instrumento"
@@ -36,12 +25,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 +46,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"