Hello Simon,
You need to use bound-details.left for these kind of things. There you have
the property attach-dir, which acts like parent-alignment-X for the endpoint.
This one defaults to LEFT, so you cannot really get any further by this. The
other way is to use the text property to add a \right-align to have the actual
markup aligned to the right (you might want to change attach-dir to CENTER, as
the fff does the same.
We can infact add some sugar for this, like here.
Cheers,
Valentin
Am Sonntag, 30. Jänner 2022, 22:20:58 CET schrieb Simon Albrecht:
Hi List,
is there an equivalent to self-alignment-X for the left bound text of a
DynamicTextSpanner? See below.
Best, Simon
\version "2.23.5"
{
1-\tweak self-alignment-X 1 \fff
1
% this causes alignment to just fail indiscriminately
% (not a surprise, because I couldn’t find out how to use this property)
%-\tweak left-bound-info.self-alignment-X 0
% this is simply an offset against the default placement (default
#'(-.75 . -.5))
%-\tweak bound-details.left.stencil-offset #'(-3 . 0)
% I’m not sure what this does at all
%-\tweak bound-details.left.attach-dir -3
\cresc
1
1
1
1\!
}