lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How do I revert a TextSpanner's staff-padding after a line break?


From: Thomas Morley
Subject: Re: How do I revert a TextSpanner's staff-padding after a line break?
Date: Wed, 20 Sep 2017 01:15:23 +0200

2017-09-19 14:51 GMT+02:00 Robert Murdoch <address@hidden>:
> I'm really sorry to bother you all again, but I can not figure this out. In
> my last question about a Text Spanner leading into another Text Spanner, I
> was finally able to align an accelerando with a ritardando using
> staff-padding.
>
> Unfortunately, after the line break in my score the spanner continues at the
> same height as it was on the previous line, as if staff-padding affects
> spanners after a line break too. I want the spanner after the break to
> revert to 0, but how do I do this?
>
> Thanks for reading.


Probably easiest:

{
  \alterBroken staff-padding #'(5 0) TextSpanner
  c'1\startTextSpan d'
  \break
  e' f'\stopTextSpan
}

Cheers,
  Harm



reply via email to

[Prev in Thread] Current Thread [Next in Thread]