]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/quoting-another-voice.ly
Local updates to LSR July 2012
[lilypond.git] / Documentation / snippets / quoting-another-voice.ly
1 %% DO NOT EDIT this file manually; it is automatically
2 %% generated from LSR http://lsr.dsi.unimi.it
3 %% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
4 %% and then run scripts/auxiliar/makelsr.py
5 %%
6 %% This file is in the public domain.
7 \version "2.14.2"
8
9 \header {
10   lsrtags = "staff-notation"
11
12 %% Translation of GIT committish: b482c3e5b56c3841a88d957e0ca12964bd3e64fa
13   texidoces = "
14
15 La propiedad @code{quotedEventTypes} determina los tipos de eventos
16 musicales que resultan citados.  El valor predeterminado es
17 @code{(note-event rest-event tie-event beam-event tuplet-span-event)},
18 que significa que sólo aparecen en la expresión @code{\\quoteDuring}
19 las notas, silencios, ligaduras, barras y grupos especiales.  En el
20 ejemplo siguiente, el silencio de semicorchea no aparece en el
21 fragmento citado porque @code{rest-event} no está dentro de los
22 @code{quotedEventTypes}.
23
24 Para ver una lista de los tipos de evento, consulte la sección
25 @qq{Music classes} de la Referencia de funcionamiento interno.
26
27
28 "
29   doctitlees = "Citar otra voz"
30
31
32 %% Translation of GIT committish: 0a868be38a775ecb1ef935b079000cebbc64de40
33   texidocde = "
34 Die @code{quotedEventTypes}-Eigenschaft bestimmt die
35 Typen an Musikereignissen, die zitiert werden.  Die
36 Standardeinstellung ist @code{(note-event rest-event)}, womit
37 nur Noten und Pausen der zitierten Stimme für den
38 @code{\\quoteDuring}-Ausdruck übernommen werden.  Im
39 Beispiel hier wird die 16-Pause nicht übernommen, weil
40 sich @code{rest-event} nicht in @code{quotedEventTypes} befindet.
41
42 "
43
44   doctitlede = "Eine andere Stimme zitieren"
45
46 %% Translation of GIT committish: 28097cf54698db364afeb75658e4c8e0e0ccd716
47   texidocfr = "
48 Les types d'événement pris en charge pour la citation sont déterminés par
49 la propriété @code{quotedEventTypes}.  Par défaut, sa valeur est fixée à
50 @code{(note-event rest-event tie-event beam-event tuplet-span-event)},
51 ce qui signifie que seuls les notes, silences, liaisons, ligatures et
52 nolets seront mentionnés par @code{\\quoteDuring}.  Dans l'exemple
53 suivant, le quart de soupir n'est pas reproduit puisqu'il n'est pas
54 mentionné parmi les @code{quotedEventTypes}.
55
56 Pour connaître la liste des types d'événements, reportez-vous à la
57 rubrique @emph{Music classes} de la référence des propriétés internes.
58
59 "
60   doctitlefr = "Citation d'une autre voix"
61
62   texidoc = "
63 The @code{quotedEventTypes} property determines the music event types
64 which should be quoted.  The default value is @code{(note-event
65 rest-event tie-event beam-event tuplet-span-event)}, which means that
66 only the notes, rests, ties, beams and tuplets of the quoted voice will
67 appear in the @code{\\quoteDuring} expression. In the following
68 example, a 16th rest is not quoted since @code{rest-event} is not in
69 @code{quotedEventTypes}.
70
71 For a list of event types, consult the @qq{Music classes} section of
72 the Internals Reference.
73
74 "
75   doctitle = "Quoting another voice"
76 } % begin verbatim
77
78
79 quoteMe = \relative c' {
80   fis4 r16 a8.-> b4\ff c
81 }
82 \addQuote quoteMe \quoteMe
83
84 original = \relative c'' {
85   c8 d s2
86   \once \override NoteColumn #'ignore-collision = ##t
87   es8 gis8
88 }
89
90 <<
91   \new Staff {
92     \set Staff.instrumentName = #"quoteMe"
93     \quoteMe
94   }
95   \new Staff {
96     \set Staff.instrumentName = #"orig"
97     \original
98   }
99   \new Staff \relative c'' <<
100     \set Staff.instrumentName = #"orig+quote"
101     \set Staff.quotedEventTypes =
102       #'(note-event articulation-event)
103     \original
104     \new Voice {
105       s4
106       \set fontSize = #-4
107       \override Stem #'length-fraction = #(magstep -4)
108       \quoteDuring #"quoteMe" { \skip 2. }
109     }
110   >>
111 >>