]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/lsr/aligning-and-centering-instrument-names.ly
LSR: Update.
[lilypond.git] / input / lsr / aligning-and-centering-instrument-names.ly
index fd60ca9c1439014505ff165310c33b446f54b281..110ec890fa5175d1901e7a14d4ac9e1799592888 100644 (file)
@@ -1,53 +1,80 @@
-%% Do not edit this file; it is auto-generated from LSR!
-%% Tags: text
-\version "2.11.35"
+%% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
+%% This file is in the public domain.
+\version "2.11.52"
 
-\header { texidoc = "
-Instrument names are generally printed at the left side of the staves.
-To align the names of several different intruments, you can put them in
-a \\markup block and use one of the following possibilites:
+\header {
+  lsrtags = "text, paper-and-layout, titles"
 
+  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}.
+
+"
+  doctitlees = "Alinear y centrar los nombres de instrumento"
+
+  texidoc = "
+Instrument names are generally printed to the left of the staves. To
+align the names of several different intruments, put them in a
+@code{\\markup} block and use one of the following possibilites:
 
 * 
-    Right-aligned instrument names: this is LilyPond's default behavior
+    Right-aligned instrument names: this is the default behavior
   
 * 
-    Center-aligned instrument names: with the \\hcenter-in #n syntax, you
-    can place the instrument names inside a padded box (n being the width
-    of the box)
+    Center-aligned instrument names: using the @code{\\hcenter-in #n}
+command
+    places the instrument names inside a padded box, with @code{n} being
+the width
+    of the box
   
 * 
-    Left-aligned instrument names: you have to print the names on top of an
-    empty box, using the \\combine command
-    with a \\hspace #n object.
+    Left-aligned instrument names: the names are printed on top of an
+    empty box, using the @code{\\combine} command
+    with an @code{\\hspace #n} object.
   
 
-" }
 
-\paper{ 
-  indent = #0 
+"
+  doctitle = "Aligning and centering instrument names"
+} % begin verbatim
+\paper {
+  indent = #0
   left-margin = #30
   line-width = #160
 }
 
-\new StaffGroup \relative
-<<
+\new StaffGroup \relative c' <<
   \new Staff {
-    \set Staff.instrumentName = "blabla"
-    c1^"default" c1 \break 
-    \set Staff.instrumentName = \markup { \hcenter-in #10 "blabla" }
-    c1^"centered" c1 \break 
-    \set Staff.instrumentName = \markup {\combine \hspace #8 "blabla" }
-    c1^"left-aligned" c1 
-    
+    \set Staff.instrumentName = #"Piccolo"
+    c1^"default" | c \break
+    \set Staff.instrumentName = \markup { \hcenter-in #10 Piccolo }
+    c1^"centered" | c \break
+    \set Staff.instrumentName = \markup { \combine \hspace #8 Piccolo }
+    c1^"left-aligned" | c
   } 
   \new Staff {
-    \set Staff.instrumentName = "blo"
-    c1 c1 \break 
-    \set Staff.instrumentName = \markup { \hcenter-in #10 "blo" }
-    c1 c1 \break 
-    \set Staff.instrumentName = \markup {\combine \hspace #8 "blo" }
-    c1 c1 
-  } 
-  
+    \set Staff.instrumentName = #"Flute"
+    c1 | c \break
+    \set Staff.instrumentName = \markup { \hcenter-in #10 Flute }
+    c1 | c \break
+    \set Staff.instrumentName = \markup { \combine \hspace #8 Flute }
+    c1 | c
+  }
 >>