1 %% Do not edit this file; it is auto-generated from input/new
3 \layout { ragged-right= ##t }
5 doctitle = "Quoting another voice"
6 lsrtags = "staff-notation"
7 texidoc = "With @code{\\quote}, fragments of previously entered
8 music may be quoted. @code{quotedEventTypes} will determines what
9 things are quoted. In this example, a 16th rest is not quoted, since
10 @code{rest-event} is not in @code{quotedEventTypes}."
13 quoteMe = \relative c' { fis4 r16 a8.-> b4-\ff c }
15 \addQuote quoteMe \quoteMe
16 original = \relative c'' { c8 d s2 es8 gis8 }
20 \set Staff.instrumentName = "quoteMe"
24 \set Staff.instrumentName = "orig"
27 \new Staff \relative c'' <<
28 \set Staff.instrumentName = "orig+quote"
29 \set Staff.quotedEventTypes = #'(note-event articulation-event)
34 \override Stem #'length-fraction = #(magstep -4)
35 \quoteDuring #"quoteMe" { \skip 2. }