]> git.donarmstrong.com Git - lilypond.git/blob - input/lsr/shortening-volta-brackets.ly
Merge master into nested-bookparts
[lilypond.git] / input / lsr / shortening-volta-brackets.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.11.62"
4
5 \header {
6   lsrtags = "repeats"
7
8   texidoces = "
9 De forma predeterminada, los corchetes de primera y segunda vez se
10 trazan encima de los finales alternativos completos, pero es posible
11 acortartlos estableciendo un valor cierto para
12 @code{voltaSpannerDuration}.  En el ejemplo siguiente, el corchete
13 sólo dura un compás, que corresponde a una duración de 3/4.
14
15 "
16   doctitlees = "Shortening volta brackets"
17
18   texidoc = "
19 By default, the volta brackets will be drawn over all of the
20 alternative music, but it is possible to shorten them by setting
21 @code{voltaSpannerDuration}.  In the next example, the bracket only
22 lasts one measure, which is a duration of 3/4. 
23
24 "
25   doctitle = "Shortening volta brackets"
26 } % begin verbatim
27 \relative c'' {
28   \time 3/4
29   c4 c c
30   \set Score.voltaSpannerDuration = #(ly:make-moment 3 4)
31   \repeat volta 5 { d4 d d }
32   \alternative {
33     {
34       e4 e e
35       f4 f f
36     }
37     { g4 g g }
38   }
39 }