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