X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Documentation%2Fsnippets%2Fshortening-volta-brackets.ly;h=611057d4cbdf18d0a78a9eb968202074fca44fe4;hb=23108a9515e7f76b44fac0b323afb169d708bfa1;hp=6b77a002bd9765f431e37bcefbf7db8d0e7a9ad0;hpb=f86f00c1a8de0f034ba48506de2801c074bd5422;p=lilypond.git diff --git a/Documentation/snippets/shortening-volta-brackets.ly b/Documentation/snippets/shortening-volta-brackets.ly index 6b77a002bd..611057d4cb 100644 --- a/Documentation/snippets/shortening-volta-brackets.ly +++ b/Documentation/snippets/shortening-volta-brackets.ly @@ -4,44 +4,11 @@ %% and then run scripts/auxiliar/makelsr.py %% %% This file is in the public domain. -\version "2.12.2" +\version "2.17.11" \header { lsrtags = "repeats" -%% Translation of GIT committish: 91eeed36c877fe625d957437d22081721c8c6345 - 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 = "Acortar los corchetes de primera y segunda vez" - - -%% Translation of GIT committish: 0a868be38a775ecb1ef935b079000cebbc64de40 - texidocde = " -Volta-Klammern werden normalerweise über alle Noten der Klammer gezogen, aber -es ist möglich sie zu verkürzen. Hierzu muss -@code{voltaSpannerDuration} definiert werden, in dem Beispiel etwa als -3/4, sodass die Klammer nur einen Takt dauert. - -" - doctitlede = "Volta-Klammern verkürzen" - -%% Translation of GIT committish: a5bde6d51a5c88e952d95ae36c61a5efc22ba441 - texidocfr = " -Les crochets indiquant les fins alternatives s'étalent tout au long ce -celle-ci. On peut les raccourcir en définissant la propriété -@code{voltaSpannerDuration}. Dans l'exemple suivant, le crochet ne se -prolonge que sur une mesure à 3/4. - -" - doctitlefr = "Diminution de la taille du crochet d'alternative" - - texidoc = " By default, the volta brackets will be drawn over all of the alternative music, but it is possible to shorten them by setting @@ -52,10 +19,11 @@ lasts one measure, which is a duration of 3/4. doctitle = "Shortening volta brackets" } % begin verbatim + \relative c'' { \time 3/4 c4 c c - \set Score.voltaSpannerDuration = #(ly:make-moment 3 4) + \set Score.voltaSpannerDuration = #(ly:make-moment 3/4) \repeat volta 5 { d4 d d } \alternative { { @@ -65,4 +33,3 @@ lasts one measure, which is a duration of 3/4. { g4 g g } } } -