%% Generated by lilypond-book
%% Options: [exampleindent=10.16\mm,indent=0\mm,line-width=160\mm,paper-height=845.047\pt,paper-width=597.508\pt,papersize='(cons (* 597.508 pt) (* 845.047 pt)),quote]
\include "lilypond-book-preamble.ly"


% ****************************************************************
% Start cut-&-pastable-section
% ****************************************************************

#(ly:set-option 'eps-box-padding 3.000000)



\paper {
  #(set-paper-size '(cons (* 597.508 pt) (* 845.047 pt)))
  indent = 0\mm
  line-width = 160\mm
  % offset the left padding, also add 1mm as lilypond creates cropped
  % images with a little space on the right
  line-width = #(- line-width (* mm  3.000000) (* mm 1))
  line-width = 160\mm - 2.0 * 10.16\mm
  % offset the left padding, also add 1mm as lilypond creates cropped
  % images with a little space on the right
  line-width = #(- line-width (* mm  3.000000) (* mm 1))
}

\layout {
  
}




% ****************************************************************
% ly snippet:
% ****************************************************************
\sourcefilename "snippets/shortening-volta-brackets.ly"
\sourcefileline 0
%% DO NOT EDIT this file manually; it was automatically
%% generated from `Documentation/snippets/new/`.
%%
%% Make any changes in `Documentation/snippets/new/`,
%% then run `scripts/auxiliar/makelsr.pl --new`.
%%
%% This file is in the public domain.
%%
%% Note: this file needs at least LilyPond version 2.25.23.

\version "2.25.23"

\header {
%% Translation of GIT committish: a8a85e19654e46d725563e6deba44083ef137a2c
  texidocja = "
デフォルトでは、繰り返し括弧は入れ替え部分全体に表示されますが、@c
@code{voltaSpannerDuration} をセットすることで短くすることができます。@c
次の例では、括弧は 1 小節、つまり 3/4 分だけ表示されます。
"
  doctitleja = "繰り返し括弧を短くする"

%% Translation of GIT committish: 2f3474d9af596d677ed5b7ce720ae4d0954a6b51
  texidocit = "
Per impostazione predefinita, le parentesi delle volte si estendono per
tutta l'alternativa, ma si possono accorciare impostando
@code{voltaSpannerDuration}.  Nell'esempio seguente, la parentesi dura
una misura, che ha una durata di 3/4.

"
  doctitleit = "Accorciare le parentesi delle volte"

%% Translation of GIT committish: fafad7372f36503c8b698069950fbb42a6388b90
  texidocfr = "
Les crochets indiquant les fins alternatives s'étalent tout au long de
celles-ci. On peut les raccourcir en jouant sur la propriété
@code{VoltaBracket.musical-length}. Dans l'exemple suivant, le crochet
ne s'étend que sur une mesure à 3/4.
"

  doctitlefr = "Diminution de la taille du crochet d'alternative"

%% Translation of GIT committish: 2dbd7c68d29e97631d7ef0d5f324fdc0ad92eccf
  texidoces = "
De forma predeterminada, los corchetes de primera y segunda vez se
trazan encima de los finales alternativos completos, pero es
posible acortartlos sobreescribiendo el valor de
@code{VoltaBracket.musical-length}.  En el ejemplo siguiente, el
corchete solo abarca 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: 8ffecf6be17c6ec2ff87cf31873121a8cce29b09
  texidocca = "
De forma predeterminada, els corxets de primera i segona vegada es
tracen a sobre els finals alternatius complets, però és possible
fer-los més curts establint un valor cer per a
@code{voltaSpannerDuration}.  A l'exemple següent, el corxet sols
dura un compàs, que correspon a una duració de 3/4.

"
  doctitleca = "Fer més curts els corxets de primer i segona vegada"

  categories = "Repeats"

  texidoc = "
By default, volta brackets are drawn over all of the
alternative music, but it is possible to shorten them by
overriding @code{VoltaBracket.musical-length}.  In the next
example, the bracket only spans one measure, which has a
duration of 3/4.
"

  doctitle = "Shortening volta brackets"
} % begin verbatim


\fixed c'' {
  \time 3/4
  c4 c c
  \repeat volta 5 {
    d4 d d
    \alternative {
      \volta 1,2,3,4 {
        \once \override Score.VoltaBracket.musical-length =
          \musicLength 2.
        e4 e e
        f4 f f
      }
      \volta 5 {
        g4 g g } } }
}



% ****************************************************************
% end ly snippet
% ****************************************************************
