]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/quoting-another-voice.ly
Doc: run makelsr locally
[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: 3b125956b08d27ef39cd48bfa3a2f1e1bb2ae8b4
47   texidocfr = "
48 Les types d'événement pris en charge pour la citation peuvent se régler
49 avec la propriété @code{quotedEventTypes}.  Par défaut, sa valeur est
50 fixée à @code{(note-event rest-event tie-event beam-event
51 tuplet-span-event)}, ce qui signifie que seuls les notes, silences,
52 liaisons, ligatures et nolets seront mentionnés par @code{\\quoteDuring}.
53 Dans l'exemple suivant, le quart de soupir n'est pas reproduit puisqu'il
54 n'est pas mentionné parmi les @code{quotedEventTypes}.
55
56 Pour connaître la liste des types d'événements, reportez-vous au
57 chapitre @emph{Music classes} de la référence des propriétés internes.
58
59 "
60   doctitlefr = "Citation d'une autre voix"
61
62
63   texidoc = "
64 The @code{quotedEventTypes} property determines the music event types
65 which should be quoted.  The default value is @code{(note-event
66 rest-event tie-event beam-event tuplet-span-event)}, which means that
67 only the notes, rests, ties, beams and tuplets of the quoted voice will
68 appear in the @code{\\quoteDuring} expression. In the following
69 example, a 16th rest is not quoted since @code{rest-event} is not in
70 @code{quotedEventTypes}.
71
72 For a list of event types, consult the @qq{Music classes} section of
73 the Internals Reference.
74
75 "
76   doctitle = "Quoting another voice"
77 } % begin verbatim
78
79
80 quoteMe = \relative c' {
81   fis4 r16 a8.-> b4\ff c
82 }
83 \addQuote quoteMe \quoteMe
84
85 original = \relative c'' {
86   c8 d s2
87   \once \override NoteColumn #'ignore-collision = ##t
88   es8 gis8
89 }
90
91 <<
92   \new Staff {
93     \set Staff.instrumentName = #"quoteMe"
94     \quoteMe
95   }
96   \new Staff {
97     \set Staff.instrumentName = #"orig"
98     \original
99   }
100   \new Staff \relative c'' <<
101     \set Staff.instrumentName = #"orig+quote"
102     \set Staff.quotedEventTypes =
103       #'(note-event articulation-event)
104     \original
105     \new Voice {
106       s4
107       \set fontSize = #-4
108       \override Stem #'length-fraction = #(magstep -4)
109       \quoteDuring #"quoteMe" { \skip 2. }
110     }
111   >>
112 >>