Hello Werner,

you could simply include a hidden dynamic spanner like this:

%%%
{
  \after 2. \> f'1\f-\tweak stencil ##f \< | f'1\p
}
%%%

Best regards,
Tina

Am Freitag, 10. Oktober 2025, 11:16:06 Mitteleuropäische Sommerzeit schrieb 
Werner LEMBERG:
> Please consider this small example.
> 
> 
> ```
> {
>   f'1\f\> | f'1\p
> }
> 
> {
>   \after 4 \> f'1\f | f'1\p
> }
> ```
> 
> Is there a way to make the second staff behave like the first one,
> i.e., to tell LilyPond that `f`, `\>`, and `p'` form a group and
> should be placed into the same `DynamicLineSpanner` object?
> 
> 
>     Werner

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to