%% 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/preventing-final-mark-from-removing-final-tuplet.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 = "
楽譜の最後に @code{\\mark} を追加すると、最後にある連符が@c
表示されません。これは @code{TupletBracket.full-length-to-extent} を @code{#f}
にすることで対処できます。
"
  doctitleja = "最後にリハーサル記号を配置した際に連符が削除されないようにする"

%% Translation of GIT committish: 1abe87de51b9b00a391da1be4cf4b5ebe4021ca9
  texidocfr = "
En raison de ce qui est rapporté dans le
@uref{https://gitlab.com/lilypond/lilypond/-/issues/2362,ticket 2362},
l'ajout d'une marque-repère en fin de pièce peut entraîner la perte de
la dernière indication de n-olet. La désactivation de
@code{TupletBracket.full-length-to-extent} pallie ce problème.
"

  doctitlefr = "Préservation de l'indication de n-olet lors d'un repère final"

%% Translation of GIT committish: 35d4cc1b78c4105643ca5fdcb44cb717578d6d4a
  texidoces = "
A causa del
@uref{https://gitlab.com/lilypond/lilypond/-/issues/2362,bug número 2362},
al añadir una marca de ensayo @code{mark} al final puede ocurrir
que se pierda una indicación de grupo especial colocado al final.
Se puede solventar fijando
@code{TupletBracket.full-length-to-extent} a @code{#f}.

"
  doctitlees = "Evitar que una marca de ensayo final suprima el corchete de un grupo de valoración especial"

%% Translation of GIT committish: 8ffecf6be17c6ec2ff87cf31873121a8cce29b09
  texidocca = "
En afegir una marca d'assaig @code{mark} al final pot succeir que es
perdi una indicació de grup especial col·locat al final.  Es pot
solucionar establint @code{TupletBracket #'full-length-to-extent}
al valor @code{false}.

"
  doctitleca = "Evitar que una marca de assaig final suprimeixi el corxet d'un grup de valoració especial"

  categories = "Rhythms, Workaround"

  texidoc = "
Due to @uref{https://gitlab.com/lilypond/lilypond/-/issues/2362,Issue
#2362} the addition of a final @code{mark} can result in the loss of a
final tuplet marking. This can be overcome by setting
@code{TupletBracket.full-length-to-extent} to @code{#f}.
"

  doctitle = "Preventing final mark from removing final tuplet"
} % begin verbatim


\new Staff {
  \set tupletFullLength = ##t
  \time 1/8
  \tuplet 3/2 8 { c'16 c' c' c' c' c' c' c' c' }
  \tweak direction #DOWN \textEndMark "1234"
}

\new Staff {
  \set tupletFullLength = ##t
  \override TupletBracket.full-length-to-extent = ##f

  \time 1/8
  \tuplet 3/2 8 { c'16 c' c' c' c' c' c' c' c' }
  \tweak direction #DOWN \textEndMark "1234"
}



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