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