Combining dynamics with markup texts (2)

Some dynamics may involve text indications (such as “più f” or “p subito”). These can be produced using the make-dynamic-script Scheme function; the resulting object behaves like a DynamicText grob.

See also Combining dynamics with markup texts.

\version "2.24"

piuF = #(make-dynamic-script
          #{ \markup { \normal-text \italic più \dynamic f } #})

\score {
  \relative c'' {
    c2\f c\piuF
  }
}