]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/lsr/quoting-another-voice.ly
Merge branch 'master' into nested-bookparts
[lilypond.git] / input / lsr / quoting-another-voice.ly
index 48fb1967b22a07d645fe62d003e6f23ab2e280bc..604b678c1411e2db007cafb36169b41315cf87d2 100644 (file)
@@ -1,22 +1,18 @@
 %% Do not edit this file; it is auto-generated from input/new
 %% This file is in the public domain.
-\version "2.11.62"
+\version "2.11.57"
 \header {
   lsrtags = "staff-notation"
-  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}."
+  texidoc = "With @code{\\quote}, fragments of previously entered
+music may be quoted.  @code{quotedEventTypes} will determines which
+items are quoted.  In this 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
-}
-\addQuote quoteMe \quoteMe
+quoteMe = \relative c' { fis4 r16  a8.-> b4-\ff c }
 
+\addQuote quoteMe \quoteMe
 original = \relative c'' {
   c8 d s2
   \once \override NoteColumn #'ignore-collision = ##t
@@ -34,14 +30,13 @@ original = \relative c'' {
   }
   \new Staff \relative c'' <<
     \set Staff.instrumentName = #"orig+quote"
-    \set Staff.quotedEventTypes =
-      #'(note-event articulation-event)
+    \set Staff.quotedEventTypes = #'(note-event articulation-event)
     \original
     \new Voice {
       s4
-      \set fontSize = #-4
-      \override Stem #'length-fraction = #(magstep -4)
-      \quoteDuring #"quoteMe" { \skip 2. }
+           \set fontSize = #-4
+           \override Stem #'length-fraction = #(magstep -4)
+           \quoteDuring #"quoteMe" { \skip 2. }
     }
   >>
 >>