]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/quoting-another-voice.ly
Docs: update snippets locally
[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 that are quoted.  The default value is @code{(note-event rest-event)},
39 which means that only notes and rests of the quoted voice appear in the
40 @code{\\quoteDuring} expression. In the following example, a 16th rest
41 is not quoted since @code{rest-event} is not in
42 @code{quotedEventTypes}.
43
44 "
45   doctitle = "Quoting another voice"
46 } % begin verbatim
47
48 quoteMe = \relative c' {
49   fis4 r16 a8.-> b4\ff c
50 }
51 \addQuote quoteMe \quoteMe
52
53 original = \relative c'' {
54   c8 d s2
55   \once \override NoteColumn #'ignore-collision = ##t
56   es8 gis8
57 }
58
59 <<
60   \new Staff {
61     \set Staff.instrumentName = #"quoteMe"
62     \quoteMe
63   }
64   \new Staff {
65     \set Staff.instrumentName = #"orig"
66     \original
67   }
68   \new Staff \relative c'' <<
69     \set Staff.instrumentName = #"orig+quote"
70     \set Staff.quotedEventTypes =
71       #'(note-event articulation-event)
72     \original
73     \new Voice {
74       s4
75       \set fontSize = #-4
76       \override Stem #'length-fraction = #(magstep -4)
77       \quoteDuring #"quoteMe" { \skip 2. }
78     }
79   >>
80 >>