LSR: Update.
[lilypond.git] / input / lsr / shortening-volta-brackets.ly
blob8fcfd9f2bfc47ebe4220f571547c0d520c4a8124
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.55"
5 \header {
6 lsrtags = "repeats"
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.
15 doctitle = "Shortening volta brackets"
16 } % begin verbatim
17 \relative c'' {
18 \time 3/4
19 c4 c c
20 \set Score.voltaSpannerDuration = #(ly:make-moment 3 4)
21 \repeat volta 5 { d4 d d }
22 \alternative {
24 e4 e e
25 f4 f f
27 { g4 g g }