]> git.donarmstrong.com Git - lilypond.git/blob - input/lsr/quoting-another-voice.ly
Fix 546.
[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.13.1"
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   
17 %% Translation of GIT committish :<0364058d18eb91836302a567c18289209d6e9706>
18   texidocde = "
19 Die @code{quotedEventTypes}-Eigenschaft bestimmt die
20 Typen an Musikereignissen, die zitiert werden.  Die
21 Standardeinstellung ist @code{(note-event rest-event)}, womit
22 nur Noten und Pausen der zitierten Stimme für den
23 @code{\\quoteDuring}-Ausdruck übernommen werden.  Im
24 Beispiel hier wird die 16-Pause nicht übernommen, weil
25 sich @code{rest-event} nicht in @code{quotedEventTypes} befindet.
26
27 "
28
29   doctitlede = "Eine andere Stimme zitieren"
30
31   lsrtags = "staff-notation"
32   texidoc = "The @code{quotedEventTypes} property determines the
33 music event types that are quoted.  The default value is
34 @code{(note-event rest-event)}, which means that only notes and
35 rests of the quoted voice appear in the @code{\\quoteDuring}
36 expression.  In the following example, a 16th rest is not quoted
37 since @code{rest-event} is not in @code{quotedEventTypes}."
38   doctitle = "Quoting another voice"
39 } % begin verbatim
40
41
42 quoteMe = \relative c' {
43   fis4 r16 a8.-> b4\ff c
44 }
45 \addQuote quoteMe \quoteMe
46
47 original = \relative c'' {
48   c8 d s2
49   \once \override NoteColumn #'ignore-collision = ##t
50   es8 gis8
51 }
52
53 <<
54   \new Staff {
55     \set Staff.instrumentName = #"quoteMe"
56     \quoteMe
57   }
58   \new Staff {
59     \set Staff.instrumentName = #"orig"
60     \original
61   }
62   \new Staff \relative c'' <<
63     \set Staff.instrumentName = #"orig+quote"
64     \set Staff.quotedEventTypes =
65       #'(note-event articulation-event)
66     \original
67     \new Voice {
68       s4
69       \set fontSize = #-4
70       \override Stem #'length-fraction = #(magstep -4)
71       \quoteDuring #"quoteMe" { \skip 2. }
72     }
73   >>
74 >>