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