Le 12/12/2021 à 21:24, Ahanu Banerjee a écrit :
Hello,

When creating a crescendo following a custom dynamic marking (e.g., piano subito), I am having trouble moving the start of the spanner to a point following the dynamic markup.

What would be the best way of doing this? Example below. Thanks!

    \version "2.20.0"
    { d'16_\markup { \dynamic p \italic "subito" } \cresc \repeat
    unfold 14 d'16 d'\f | }




Use a real dynamic script. These care care of spacing for you.

\version "2.22.1"

psubito =
#(make-dynamic-script #{ \markup { p \normal-text \italic "subito" } #})

{ d'16_\psubito \cresc \repeat unfold 14 d'16 d'\f | }


See
https://lilypond.org/doc/v2.22/Documentation/notation/expressive-marks-attached-to-notes#index-make_002ddynamic_002dscript-1

Regards,
Jean

Reply via email to