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