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. `CenteredBarNumberLineSpanner`, or
`SostenutoPedal` vs. `SostenutoPedalLineSpanner`.
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 "aaaa"\startTextSpan
c'1\stopTextSpan
}
Maybe they should be for tempo indications? But then,
it's more a matter of adding dedicated grobs since
I don't think it would be desirable to do this for
all text spanners -- nothing prevents overlapping
text spanners, unlike, say, overlapping hairpins (in
the same voice, that is), so I don't think there is
a reason to make them continuous.
What is the context of your question?
Jean