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