]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/quoting-another-voice.ly
Merge branch 'lilypond/translation' of ssh://jomand@git.sv.gnu.org/srv/git/lilypond
[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.4"
5
6 \header {
7   lsrtags = "staff-notation"
8
9 %% Translation of GIT committish: b2d4318d6c53df8469dfa4da09b27c15a374d0ca
10   texidoces = "
11 La propiedad @code{quotedEventTypes} determina los tipos de
12 eventos musicales que resultan citados.  El valor predeterminado
13 es @code{(note-event rest-event)}, que significa que sólo aparecen
14 en la expresión @code{\\quoteDuring} las notas y los silencios.
15 En el ejemplo siguiente, el silencio de semicorchea no aparece en
16 el fragmento citado porque @code{rest-event} no está dentro de los
17 @code{quotedEventTypes}.
18
19 "
20   doctitlees = "Citar otra voz"
21
22 %% Translation of GIT committish: d96023d8792c8af202c7cb8508010c0d3648899d
23   texidocde = "
24 Die @code{quotedEventTypes}-Eigenschaft bestimmt die
25 Typen an Musikereignissen, die zitiert werden.  Die
26 Standardeinstellung ist @code{(note-event rest-event)}, womit
27 nur Noten und Pausen der zitierten Stimme für den
28 @code{\\quoteDuring}-Ausdruck übernommen werden.  Im
29 Beispiel hier wird die 16-Pause nicht übernommen, weil
30 sich @code{rest-event} nicht in @code{quotedEventTypes} befindet.
31
32 "
33
34   doctitlede = "Eine andere Stimme zitieren"
35
36   texidoc = "
37 The @code{quotedEventTypes} property determines the music event types
38 which should be quoted.  The default value is @code{(note-event
39 rest-event tie-event beam-event tuplet-span-event)}, which means that
40 only the notes, rests, ties, beams and tuplets of the quoted voice will
41 appear in the @code{\\quoteDuring} expression. In the following
42 example, a 16th rest is not quoted since @code{rest-event} is not in
43 @code{quotedEventTypes}.
44
45 For a list of event types, consult the @qq{Music classes} section of
46 the Internals Reference.
47
48 "
49   doctitle = "Quoting another voice"
50 } % begin verbatim
51
52 quoteMe = \relative c' {
53   fis4 r16 a8.-> b4\ff c
54 }
55 \addQuote quoteMe \quoteMe
56
57 original = \relative c'' {
58   c8 d s2
59   \once \override NoteColumn #'ignore-collision = ##t
60   es8 gis8
61 }
62
63 <<
64   \new Staff {
65     \set Staff.instrumentName = #"quoteMe"
66     \quoteMe
67   }
68   \new Staff {
69     \set Staff.instrumentName = #"orig"
70     \original
71   }
72   \new Staff \relative c'' <<
73     \set Staff.instrumentName = #"orig+quote"
74     \set Staff.quotedEventTypes =
75       #'(note-event articulation-event)
76     \original
77     \new Voice {
78       s4
79       \set fontSize = #-4
80       \override Stem #'length-fraction = #(magstep -4)
81       \quoteDuring #"quoteMe" { \skip 2. }
82     }
83   >>
84 >>