%% 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))]
\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))
}

\layout {
  
}




% ****************************************************************
% ly snippet:
% ****************************************************************
\sourcefilename "snippets/modifying-tuplet-bracket-length.ly"
\sourcefileline 0
%% DO NOT EDIT this file manually; it was automatically
%% generated from the LilyPond Wiki
%% (https://wiki.lilypond.community).
%%
%% Make any changes in the Wiki itself, or in
%% `Documentation/snippets/new/`, then run
%% `scripts/auxiliar/makelsr.pl`.
%%
%% This file is in the public domain.

\version "2.24.0"

\header {
%% Translation of GIT committish: f11513f36c131dab18338d6a3a729e24a927150d
  texidocja = "
連符のブラケットの終端位置を変更することが出来ます。デフォルトでは連符内にある@c
最後の音符の右端が終端となりますが、@code{tupletFullLength} と
@code{tupletFullLength} を @code{#t}
にすることで、音部記号、拍子記号、調号などを含めた次の音符の直前までが連符で@c
囲まれます。@code{tupletFullLengthNote} を @code{#f} にすることで、@c
音部記号などを除いた、音符が@c
音価としてスペースを取っている部分までが連符で囲まれるようになります。@c
この例では、以上の設定を変更して、それぞれの設定で@c
連符がどのオブジェクトにまでまたがるかを示しています。
"
  doctitleja = "連符のブラケットの長さを変更する"

%% Translation of GIT committish: c043783aac6c35926d633aa2daf60ed4f2e7ca7a
  texidocfr = "
Les crochets indiquant un n-olet peuvent être prolongés jusqu'à un
élément de rupture ou jusqu'à la note suivante.  LilyPond termine un
crochet de n-olet sur la droite de sa dernière tête de note par défaut ;
un crochet de pleine longueur s'étendra plus avant, soit jusqu'à la note
suivante et en traversant tous les éléments non rythmiques, soit sur
tout l'espace précédant le prochain élément de notation, que ce soit une
clef, une métrique, une armure ou une autre note.  L'exemple suivant
illustre la manière d'activer ces deux fonctionnalités.
"

  doctitlefr = "Modification de la longueur d'un crochet de n-olet"

%% Translation of GIT committish: 70abecb938c2bb752967bd56b7402dd8129838a5
  texidoces = "
Se puede hacer que los corchetes de grupo de valoración especial,
como los tresillos, se extiendan horizontalmente hasta abarcar
música anterior al propio grupo o incluyan la nota siguiente.  Los
corchetes predeterminados finalizan en el extremo derecho de la
última nota del grupo; el corchete de un grupo de duración
completa se exiende más a la derecha, bien para que cubra toda la
notación no rítmica hasta la nota siguiente, o bien para que cubra
solamente el espacio vacía que hay antes del elemento siguiente de
notación, sea éste una clave, una indicación de compás, u otra
nota.  El ejemplo muestra cómo activar el modo de duración
completa de los grupos de valoración especial y cómo cambiar la
parte de música que cubren.

"
  doctitlees = "Modificar la longitud del corchete de grupo especial"

%% Translation of GIT committish: 703dca1fd6b202716cbfdc650c604dd835795b01
  texidoceca = "
Es poden fer que els corxets de grup de valoració especial, com
els tresets, incloguin música anterior al propi grup o incloguin
la nota següent.  Els corxets predeterminats finalitzen a l'extrem
dret de l'última nota del grup; el corxet d'un grup de duració
completa s'estén més a la dreta, bé perquè cobreixi tota la
notació no rítmica fins la nota següent, o bé perquè cobreixi sols
l'espai buit que hi ha abans de l'element següent de notació,
sigui aquest element una clau, una indicació de compàs o una altra
nota.  L'exemple mostra com activar el mode de duració completa
dels grups de valoració especial i com canviar la part de música
que cobreixen.

"
  doctitleca = "Modificació de la longitud del corxet de grup especial"

  categories = "Really simple, Rhythms"

  texidoc = "
Tuplet brackets can be made to extend horizontally to prefatory matter
or the next note. By default, tuplet brackets end at the right edge of
the final note of the tuplet; full-length tuplet brackets extend
farther to the right, either to cover all the non-rhythmic notation up
to the following note, or to cover only the whitespace before the next
item of notation, be that a clef, time signature, key signature, or
another note. The example shows how to switch tuplets to full length
mode and how to modify what material they cover.
"

  doctitle = "Modifying tuplet bracket length"
} % begin verbatim


\new RhythmicStaff {
  % Defaults.
  \time 2/4 \tuplet 3/2 { c4 4 4 }
  \time 4/4 \tuplet 5/4 { 4 1 }
  \time 3/4 2.
}

\new RhythmicStaff {
  % Set tuplets to be extendable...
  \set tupletFullLength = ##t
  % ...to cover all items up to the next note
  \set tupletFullLengthNote = ##t
  \time 2/4 \tuplet 3/2 { c4 4 4 }
  % ...or to cover just whitespace.
  \set tupletFullLengthNote = ##f
  \time 4/4 \tuplet 5/4 { 4 1 }
  \time 3/4 2.
}



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