1 % DO NOT EDIT this file manually; it is automatically
2 % generated from Documentation/snippets/new
3 % Make any changes in Documentation/snippets/new/
4 % and then run scripts/auxiliar/makelsr.py
6 % This file is in the public domain.
7 %% Note: this file works from version 2.19.56
11 lsrtags = "staff-notation"
14 The @code{quotedEventTypes} property determines the music event types
15 which should be quoted. The default value is @code{(note-event
16 rest-event tie-event beam-event tuplet-span-event)}, which means that
17 only the notes, rests, ties, beams and tuplets of the quoted voice will
18 appear in the @code{\\quoteDuring} expression. In the following
19 example, a 16th rest is not quoted since @code{rest-event} is not in
20 @code{quotedEventTypes}.
22 For a list of event types, consult the @qq{Music classes} section of
23 the Internals Reference.
26 doctitle = "Quoting another voice"
29 quoteMe = \relative c' {
30 fis4 r16 a8.-> b4\ff c
33 \addQuote quoteMe \quoteMe
35 original = \relative c'' {
37 \once \override NoteColumn.ignore-collision = ##t
42 \new Staff \with { instrumentName = "quoteMe" }
45 \new Staff \with { instrumentName = "orig" }
49 instrumentName = "orig+quote"
50 quotedEventTypes = #'(note-event articulation-event)
58 \override Stem.length-fraction = #(magstep -4)
59 \quoteDuring #"quoteMe" { \skip 2. }