Try:
\version "2.19.15"
\relative c' {
f4 f f f |
f4 f f f |
f4 f f f |
f4 f f f |
\once \override TextSpanner.bound-details.left.text = "rit."
\once \override TextSpanner.bound-details.right.text = "a tempo"
\once \override TextSpanner.bound-details.right.attach-dir = #-6
f4\startTextSpan f f f\stopTextSpan
f4 f f f |
f4 f f f |
f4 f f f |
f4 f f f |
f4 f f f |
f4 f f f |
}
Pierre
2015-01-26 10:59 GMT+01:00 Werner LEMBERG <[email protected]>:
>
> Consider the following snippet.
>
> \relative c' {
> f4 f f f |
> f4 f f f |
> f4 f f f |
> f4 f f f |
> \once \override TextSpanner.bound-details.left.text = "rit."
> \once \override TextSpanner.bound-details.right.text = "a tempo"
> f4\startTextSpan f f f\stopTextSpan
> f4 f f f |
> f4 f f f |
> f4 f f f |
> f4 f f f |
> f4 f f f |
> f4 f f f |
> }
>
> As can be seen, lilypond (version 2.19.15-1-171-ge86b2ea) makes a very
> unfortunate layout decision so that the `a tempo' sticks out to the
> right.
>
> For text scripts and lyrics there is the
> `Score.PaperColumn.keep-inside-line' property, which avoids similar
> effects. Obviously, this doesn't affect TextSpanner grobs, thus my
> question: How can I make the `a tempo' stay horizontally within the
> staff?
>
>
> Werner
>
>
> _______________________________________________
> lilypond-user mailing list
> [email protected]
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>
>
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user