Re: `TextSpanner` vs. `DynamicTextSpanner`

2022-03-05 Thread Jean Abou Samra
Le 05/03/2022 à 17:19, Werner LEMBERG a écrit : Sometimes, this would be very helpful, yes (see attached image from the last scene of 'Wozzeck'). I guess a possible work-around would be to (ab)use `DynamicTextSpanner` for that. [...] There is also this kind of code: [...] See issue #3176. Ver

Re: `TextSpanner` vs. `DynamicTextSpanner`

2022-03-05 Thread Werner LEMBERG
>> Sometimes, this would be very helpful, yes (see attached image from >> the last scene of 'Wozzeck'). I guess a possible work-around would >> be to (ab)use `DynamicTextSpanner` for that. > > [...] There is also this kind of code: [...] See issue #3176. Very nice, thanks! Maybe this should

Re: `TextSpanner` vs. `DynamicTextSpanner`

2022-03-04 Thread Jean Abou Samra
Le 04/03/2022 à 05:00, Werner LEMBERG a écrit : Is there a similar auxiliary grob for `TextSpanner`? No, since consecutive text spanners are not aligned vertically. { c'1\tweak bound-details.left.text "aaa" \startTextSpan c'1\stopTextSpan\tweak bound-details.left.text ""\startTextSpan

Re: `TextSpanner` vs. `DynamicTextSpanner`

2022-03-03 Thread Werner LEMBERG
>> Is there a similar auxiliary grob for `TextSpanner`? > > No, since consecutive text spanners are not aligned vertically. > > { > c'1\tweak bound-details.left.text "aaa" \startTextSpan > c'1\stopTextSpan\tweak bound-details.left.text ""\startTextSpan > c'1\stopTextSpan > } > > > Ma

Re: `TextSpanner` vs. `DynamicTextSpanner`

2022-03-03 Thread Jean Abou Samra
Le 03/03/2022 à 20:25, Werner LEMBERG a écrit : For `DynamicTextSpanner` grobs there exists the auxiliary `DynamicLineSpanner` grob, providing a vertical baseline to align successive dynamic grobs within a staff. LilyPond provides other such pairs like `CenteredBarNumber` vs. `CenteredBarNumberL

`TextSpanner` vs. `DynamicTextSpanner`

2022-03-03 Thread Werner LEMBERG
For `DynamicTextSpanner` grobs there exists the auxiliary `DynamicLineSpanner` grob, providing a vertical baseline to align successive dynamic grobs within a staff. LilyPond provides other such pairs like `CenteredBarNumber` vs. `CenteredBarNumberLineSpanner`, or `SostenutoPedal` vs. `SostenutoP