]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/quoting-another-voice.ly
Allow open strings in chords regardless of finger positions
[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.0"
8
9 \header {
10   lsrtags = "staff-notation"
11
12 %% Translation of GIT committish: 6977ddc9a3b63ea810eaecb864269c7d847ccf98
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: 99dc90bbc369722cf4d3bb9f30b7288762f2167f6
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 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 >>