]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/lsr/applying-note-head-styles-depending-on-the-step-of-the-scale.ly
Merge master into nested-bookparts
[lilypond.git] / input / lsr / applying-note-head-styles-depending-on-the-step-of-the-scale.ly
index 25c106192df246e6b6d8f9f365c3c1e509da0214..f652798ab00885690ae9705dc5ce8fd4acb34700 100644 (file)
@@ -1,40 +1,72 @@
 %% 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.38"
+\version "2.11.62"
 
 \header {
-  lsrtags = "pitches, editorial-and-educational-use"
- texidoc = "
-The @code{shapeNoteStyles} property gives you the ability to define
-various note head styles for each step of the scale (as defined by the
-key signature or the \"tonic\" property). This property requires a set
-of symbols, which can be purely arbitrary (geometrical expressions such
-as @code{triangle}, @code{cross}, @code{xcircle} etc. are allowed) or
-based on old American engraving tradition (you can use some latin note
-names as well). That said, if you're trying to imitate old American
-song books, you may also want to try LilyPond's predefined note head
-styles, through shortcut commands such as @code{\\aikenHeads} or
-@code{\\sacredHarpHeads}. This example shows different ways to obtain
-shape note heads, and demonstrates the ability to transpose a melody
-without losing the correspondence between harmonic functions and note
-head styles. 
-" }
-% begin verbatim
+  lsrtags = "pitches, editorial-annotations"
+
+  doctitle = "Applying note head styles depending on the step of the scale"
+  doctitlees = "Aplicar estilos de cabeza según la nota de la escala"
+  texidoces = "
+La propiedad @code{shapeNoteStyles} se puede usar para definir varios
+estilos de cabezas de nota para cada grado de la escala (según esté
+establecido por la armadura o por la propiedad \"tonic\"). Esta
+propiedad requiere un conjunto de símbolos, que pueden ser puramente
+arbitrarios (se permiten expresiones geométricas como @code{triangle},
+triángulo, @code{cross}, aspas, y @code{xcircle}, círculo con aspas) o
+basados en una antigua tradición americana de grabado (ciertos nombres
+de nota latinos trambién se permiten).
+
+Dicho esto, para imitar antiguos cancioneros americanos, existen
+varios estilos predefinidos de cabezas de nota disponibles a través de
+instrucciones de abreviatura como @code{\\aikenHeads} o
+@code{\\sacredHarpHeads}.
+
+Este ejemplo muestra distintas formas de obtener cabezas de notas con
+forma, y muestra la capacidad de transportar una melodía sin perder la
+correspondencia entre las funciones armónicas y los estilos de cabezas
+de nota.
+
+"
+
+  texidoc = "
+The @code{shapeNoteStyles} property can be used to define various note
+head styles for each step of the scale (as set by the key signature or
+the \"tonic\" property). This property requires a set of symbols, which
+can be purely arbitrary (geometrical expressions such as
+@code{triangle}, @code{cross}, and @code{xcircle} are allowed) or based
+on old American engraving tradition (some latin note names are also
+allowed).
+
+That said, to imitate old American song books, there are several
+predefined note head styles available through shortcut commands such as
+@code{\\aikenHeads} or @code{\\sacredHarpHeads}.
+
+This example shows different ways to obtain shape note heads, and
+demonstrates the ability to transpose a melody without losing the
+correspondence between harmonic functions and note head styles. 
+
+"
+  doctitle = "Applying note head styles depending on the step of the scale"
+} % begin verbatim
 fragment = {
   \key c \major
-  c2 d e f g a b c
+  c2 d
+  e2 f
+  g2 a
+  b2 c
 }
 
 \score {
   \new Staff {
     \transpose c d 
-    \relative {
-      \set shapeNoteStyles = ##(do re mi fa #f la ti)
+    \relative c' {
+      \set shapeNoteStyles = #'#(do re mi fa #f la ti)
       \fragment
     }
     
-    \relative {
-      \set shapeNoteStyles  = ##(cross triangle fa #f mensural xcircle diamond)
+    \relative c' {
+      \set shapeNoteStyles  = #'#(cross triangle fa #f mensural xcircle diamond)
       \fragment
     }
   }