[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: `TextSpanner` vs. `DynamicTextSpanner`
From: |
Jean Abou Samra |
Subject: |
Re: `TextSpanner` vs. `DynamicTextSpanner` |
Date: |
Thu, 3 Mar 2022 20:39:33 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 |
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