]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/lsr/shortening-volta-brackets.ly
Merge master into nested-bookparts
[lilypond.git] / input / lsr / shortening-volta-brackets.ly
index 6d705270e4158960446a24028bc8d045125e2afb..a871420612849523579b1bcf2102da102f7036c7 100644 (file)
@@ -1,22 +1,39 @@
 %% Do not edit this file; it is auto-generated from LSR http://lsr.dsi.unimi.it
 %% This file is in the public domain.
-\version "2.11.38"
+\version "2.11.62"
 
 \header {
   lsrtags = "repeats"
- texidoc = "
+
+  texidoces = "
+De forma predeterminada, los corchetes de primera y segunda vez se
+trazan encima de los finales alternativos completos, pero es posible
+acortartlos estableciendo un valor cierto para
+@code{voltaSpannerDuration}.  En el ejemplo siguiente, el corchete
+sólo dura un compás, que corresponde a una duración de 3/4.
+
+"
+  doctitlees = "Shortening volta brackets"
+
+  texidoc = "
 By default, the volta brackets will be drawn over all of the
 alternative music, but it is possible to shorten them by setting
 @code{voltaSpannerDuration}.  In the next example, the bracket only
 lasts one measure, which is a duration of 3/4. 
-" }
-% begin verbatim
+
+"
+  doctitle = "Shortening volta brackets"
+} % begin verbatim
 \relative c'' {
   \time 3/4
-  c c c
+  c4 c c
   \set Score.voltaSpannerDuration = #(ly:make-moment 3 4)
-  \repeat volta 5 { d d d }
-    \alternative { { e e e f f f }
-    { g g g } 
+  \repeat volta 5 { d4 d d }
+  \alternative {
+    {
+      e4 e e
+      f4 f f
+    }
+    { g4 g g }
   }
 }