]> git.donarmstrong.com Git - lilypond.git/blob - Documentation/snippets/shortening-volta-brackets.ly
57bcc34e16cc20d2d92f9b2b9867021b2ad8e3b2
[lilypond.git] / Documentation / snippets / shortening-volta-brackets.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 = "repeats"
8
9 %% Translation of GIT committish: b2d4318d6c53df8469dfa4da09b27c15a374d0ca
10   texidoces = "
11 De forma predeterminada, los corchetes de primera y segunda vez se
12 trazan encima de los finales alternativos completos, pero es posible
13 acortartlos estableciendo un valor cierto para
14 @code{voltaSpannerDuration}.  En el ejemplo siguiente, el corchete
15 sólo dura un compás, que corresponde a una duración de 3/4.
16
17 "
18   doctitlees = "Shortening volta brackets"
19
20
21 %% Translation of GIT committish: d96023d8792c8af202c7cb8508010c0d3648899d
22   texidocde = "
23 Volta-Klammern werden normalerweise über alle Noten der Klammer gezogen, aber
24 es ist möglich sie zu verkürzen.  Hierzu muss
25 @code{voltaSpannerDuration} definiert werden, in dem Beispiel etwa als
26 3/4, sodass die Klammer nur einen Takt dauert.
27
28 "
29   doctitlede = "Volta-Klammern verkürzen"
30
31   texidoc = "
32 By default, the volta brackets will be drawn over all of the
33 alternative music, but it is possible to shorten them by setting
34 @code{voltaSpannerDuration}.  In the next example, the bracket only
35 lasts one measure, which is a duration of 3/4.
36
37 "
38   doctitle = "Shortening volta brackets"
39 } % begin verbatim
40
41 \relative c'' {
42   \time 3/4
43   c4 c c
44   \set Score.voltaSpannerDuration = #(ly:make-moment 3 4)
45   \repeat volta 5 { d4 d d }
46   \alternative {
47     {
48       e4 e e
49       f4 f f
50     }
51     { g4 g g }
52   }
53 }
54