%% 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 {
  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"
}
