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