]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/lsr/quoting-another-voice.ly
Imported Upstream version 2.12.3
[lilypond.git] / input / lsr / quoting-another-voice.ly
index 2380dc166f5ce76ad3216148a7a8eda5b8bafa14..901ee1779c855ed95f10ccf0d93823549a3e56a2 100644 (file)
@@ -1,39 +1,63 @@
-%% Do not edit this file; it is auto-generated from input/new
+%% 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"
-\layout { ragged-right= ##t }
+\version "2.12.3"
+
 \header {
-  doctitle = "Quoting another voice"
   lsrtags = "staff-notation"
-  texidoc = "With @code{\\quote}, fragments of previously entered
-music may be quoted. @code{quotedEventTypes} will determines what
-things are quoted.  In this example, a 16th rest is not quoted, since
-@code{rest-event} is not in @code{quotedEventTypes}."
+
+  texidoces = "
+La propiedad @code{quotedEventTypes} determina los tipos de
+eventos musicales que resultan citados.  El valor predeterminado
+es @code{(note-event rest-event)}, que significa que sólo aparecen
+en la expresión @code{\\quoteDuring} las notas y los silencios.
+En el ejemplo siguiente, el silencio de semicorchea no aparece en
+el fragmento citado porque @code{rest-event} no está dentro de los
+@code{quotedEventTypes}.
+
+"
+  doctitlees = "Citar otra voz"
+  texidoc = "
+The @code{quotedEventTypes} property determines the music event types
+that are quoted.  The default value is @code{(note-event rest-event)},
+which means that only notes and rests of the quoted voice appear in the
+@code{\\quoteDuring} expression. In the following example, a 16th rest
+is not quoted since @code{rest-event} is not in
+@code{quotedEventTypes}. 
+
+"
+  doctitle = "Quoting another voice"
+} % begin verbatim
+
+quoteMe = \relative c' {
+  fis4 r16 a8.-> b4\ff c
 }
-% begin verbatim
-quoteMe = \relative c' { fis4 r16  a8.-> b4-\ff c }
+\addQuote quoteMe \quoteMe
 
-\addQuote quoteMe \quoteMe 
-original = \relative c'' { c8 d s2 es8 gis8 }
+original = \relative c'' {
+  c8 d s2
+  \once \override NoteColumn #'ignore-collision = ##t
+  es8 gis8
+}
 
 <<
-    \new Staff {
-       \set Staff.instrumentName = "quoteMe"
-       \quoteMe
-    }
-    \new Staff {
-       \set Staff.instrumentName = "orig"
-       \original
+  \new Staff {
+    \set Staff.instrumentName = #"quoteMe"
+    \quoteMe
+  }
+  \new Staff {
+    \set Staff.instrumentName = #"orig"
+    \original
+  }
+  \new Staff \relative c'' <<
+    \set Staff.instrumentName = #"orig+quote"
+    \set Staff.quotedEventTypes =
+      #'(note-event articulation-event)
+    \original
+    \new Voice {
+      s4
+      \set fontSize = #-4
+      \override Stem #'length-fraction = #(magstep -4)
+      \quoteDuring #"quoteMe" { \skip 2. }
     }
-    \new Staff \relative c'' <<
-       \set Staff.instrumentName = "orig+quote"        
-       \set Staff.quotedEventTypes = #'(note-event articulation-event)
-       \original
-       \new Voice {
-           s4
-           \set fontSize = #-4
-           \override Stem #'length-fraction = #(magstep -4)
-           \quoteDuring #"quoteMe" { \skip 2. }
-       }
-    >>
+  >>
 >>