Jump to content

Preventing final mark from removing final tuplet: Difference between revisions

From LilyPond wiki
Import snippet from LSR
 
m Replace version="2.24.0" with version="2.24" now that the LilyWiki extension supports auto-selecting the latest release in a stable series
Line 1: Line 1:
The addition of a final <code>mark</code> can result in the loss of a final tuplet marking. This can be overcome by setting <code>TupletBracket.full-length-to-extent</code> to <code>false</code>.
The addition of a final <code>mark</code> can result in the loss of a final tuplet marking. This can be overcome by setting <code>TupletBracket.full-length-to-extent</code> to <code>false</code>.


<lilypond version="2.24.0" full>
<lilypond version="2.24" full>
% due to issue 2362 a long mark such as
% due to issue 2362 a long mark such as
%  \textEndMark "Composed Feb 2007 - Feb 2008"
%  \textEndMark "Composed Feb 2007 - Feb 2008"

Revision as of 18:53, 16 November 2025

The addition of a final mark can result in the loss of a final tuplet marking. This can be overcome by setting TupletBracket.full-length-to-extent to false.

\version "2.24"

% due to issue 2362 a long mark such as
%   \textEndMark "Composed Feb 2007 - Feb 2008"
% cannot be used here.

\paper { tagline = ##f }

\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"
}