]> git.donarmstrong.com Git - lilypond.git/blob - input/lsr/quoting-another-voice.ly
LSR: Update.
[lilypond.git] / input / lsr / quoting-another-voice.ly
1 %% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
2 %% This file is in the public domain.
3 \version "2.12.3"
4
5 \header {
6   lsrtags = "staff-notation"
7
8   texidoces = "
9 La propiedad @code{quotedEventTypes} determina los tipos de
10 eventos musicales que resultan citados.  El valor predeterminado
11 es @code{(note-event rest-event)}, que significa que sólo aparecen
12 en la expresión @code{\\quoteDuring} las notas y los silencios.
13 En el ejemplo siguiente, el silencio de semicorchea no aparece en
14 el fragmento citado porque @code{rest-event} no está dentro de los
15 @code{quotedEventTypes}.
16
17 "
18   doctitlees = "Citar otra voz"
19   texidoc = "
20 The @code{quotedEventTypes} property determines the music event types
21 that are quoted.  The default value is @code{(note-event rest-event)},
22 which means that only notes and rests of the quoted voice appear in the
23 @code{\\quoteDuring} expression. In the following example, a 16th rest
24 is not quoted since @code{rest-event} is not in
25 @code{quotedEventTypes}. 
26
27 "
28   doctitle = "Quoting another voice"
29 } % begin verbatim
30
31 quoteMe = \relative c' {
32   fis4 r16 a8.-> b4\ff c
33 }
34 \addQuote quoteMe \quoteMe
35
36 original = \relative c'' {
37   c8 d s2
38   \once \override NoteColumn #'ignore-collision = ##t
39   es8 gis8
40 }
41
42 <<
43   \new Staff {
44     \set Staff.instrumentName = #"quoteMe"
45     \quoteMe
46   }
47   \new Staff {
48     \set Staff.instrumentName = #"orig"
49     \original
50   }
51   \new Staff \relative c'' <<
52     \set Staff.instrumentName = #"orig+quote"
53     \set Staff.quotedEventTypes =
54       #'(note-event articulation-event)
55     \original
56     \new Voice {
57       s4
58       \set fontSize = #-4
59       \override Stem #'length-fraction = #(magstep -4)
60       \quoteDuring #"quoteMe" { \skip 2. }
61     }
62   >>
63 >>