]> git.donarmstrong.com Git - lilypond.git/blob - input/lsr/shortening-volta-brackets.ly
Merge branch 'master' of ssh+git://git.sv.gnu.org/srv/git/lilypond
[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.38"
4
5 \header {
6   lsrtags = "repeats"
7
8   texidoc = "
9 By default, the volta brackets will be drawn over all of the
10 alternative music, but it is possible to shorten them by setting
11 @code{voltaSpannerDuration}.  In the next example, the bracket only
12 lasts one measure, which is a duration of 3/4. 
13
14 "
15   doctitle = "Shortening volta brackets"
16 } % begin verbatim
17 \relative c'' {
18   \time 3/4
19   c c c
20   \set Score.voltaSpannerDuration = #(ly:make-moment 3 4)
21   \repeat volta 5 { d d d }
22   \alternative {
23     { e e e f f f }
24     { g g g }
25   }
26 }