X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Fnew%2Fquoting-another-voice.ly;h=13da99eacd10ccbca658ef314dfac8e0e4b96b56;hb=eeec992b7029d0982bf4ed0eb3995e9ca99c10e9;hp=e6fff64c1363537c33baf5f5ff4f1ea85e3354d2;hpb=98b5b6c845d9c34d9f1342f60f799569b60a5196;p=lilypond.git diff --git a/input/new/quoting-another-voice.ly b/input/new/quoting-another-voice.ly index e6fff64c13..13da99eacd 100644 --- a/input/new/quoting-another-voice.ly +++ b/input/new/quoting-another-voice.ly @@ -1,16 +1,20 @@ -\version "2.11.10" +\version "2.12.0" \header { lsrtags = "staff-notation" - 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}." + 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" } -quoteMe = \relative c' { fis4 r16 a8.-> b4-\ff c } - +quoteMe = \relative c' { + fis4 r16 a8.-> b4\ff c +} \addQuote quoteMe \quoteMe + original = \relative c'' { c8 d s2 \once \override NoteColumn #'ignore-collision = ##t @@ -28,13 +32,14 @@ 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. } } >> >>