Hi Dirck, See Harm's : https://lists.gnu.org/archive/html/lilypond-user/2017-05/msg00371.html E.g.:
\version "2.24.3" #(define (parenthesize-dot parentheses-item) (let* ((dot (ly:grob-object (ly:grob-parent parentheses-item Y) 'dot))) (if (not (null? dot)) (begin (set! (ly:grob-object parentheses-item 'elements) '()) (ly:grob-set-property! parentheses-item 'padding 0) (ly:pointer-group-interface::add-grob parentheses-item 'elements dot) (ly:stencil-translate-axis (parentheses-interface::print parentheses-item) 0 X)) (parentheses-interface::print parentheses-item)))) parenthesizeDot = \tweak Parentheses.stencil #(lambda (grob) (parenthesize-dot grob)) \parenthesize \etc { \stemDown <e' \parenthesizeDot e''>4. } HTH, cheers, Pierre Le mer. 1 mai 2024 à 06:32, Dirck Nagy <dn...@uwlax.edu> a écrit : > Hi all > > I know this is highly unusual, but is there a way to add parentheses > around the DOT ONLY after the notehead? > > see following image: > > FYI, I have a piece with sequences of octaves. Every instance has a note > value of a dotted quarter-note. > > There is, however, one (only one!) instance where the upper note cannot > be held the full value, because it would be physically impossible to play. > I want to avoid splitting this into separate voices because it would > clutter up the measure, (would require 4 separate voices on one staff) and > make reading more cumbersome. > > thanks! > > dirck >