Here’s the code:
\once \override TextSpanner.bound-details.left.text = \markup{\bold Rit.}
289 \time 2/8
290 b32-.\p\startTextSpan r des-.\pp c-. r \once\override
TextSpanner.bound-detail.left.text = "flt."
e:256\mf\<^\markup{fltz.}\startTextSpan (ees:256 d:256 | %21
291 \time 3/4
292 \tuplet 6/4 {d16:128\f\> ges:128 aes,:128 f:128 c':128) r}
a:128\mf\stopTextSpan r \xNote des\ pp \xNote des \xNote d!8->
aes\harmonic\fermata \bar "|."\stopTextSpan | %22
And it should look something like this:

Thank you,
Juan
> El 1 ene 2026, a las 9:34, Werner LEMBERG <[email protected]> escribió:
>
> From: "[email protected]" <[email protected]>
> Subject: Double text span line
> Date: Thu, 1 Jan 2026 09:07:17 -0500
>
>> Hello everybody,
>>
>> I’m currently trying to write a section where I need a rit. line
>> [..]
>
> LilyPond code example, please, that shows what you've tried, together
> with an image that shows how it should look like.
>
>
> Werner