I see that it’s possible to place textual marks inside of slurs:
https://lilypond.org/doc/v2.25/Documentation/snippets/expressive-marks_003a-positioning-text-markups-inside-slurs
Is it possible to get crescendo and decrescendo marks within slurs as well?
\version "2.24.1"
top = { \change Staff = "upper" \voiceTwo }
bottom = { \change Staff = "lower" \voiceOne }
upper = \relative c' {
\key g \minor
\voiceOne
d'4.^\markup {\italic "espressivo"}^"a tempo"\p^- c8( d^\< f\! g^\> c,\!) |
}
lower = \relative c' {
\clef bass
\key g \minor
f,16 bes \top d f
\bottom bes, d \top f bes
\bottom bes, d \top g bes
\bottom a, c \top g' a |
}
\layout {
\context {
\PianoStaff
\override StaffGrouper.staff-staff-spacing.basic-distance = #12
}
}
\score {
\new PianoStaff {
<<
\new Staff = "upper" \upper
\new Staff = "lower" \lower
>>
}
}