lilypond-user
[Top][All Lists]
Advanced

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

Re: Cross-"fertilization" between Dynamics w/ Lyrics and Keep_alive_toge


From: Rutger Hofman
Subject: Re: Cross-"fertilization" between Dynamics w/ Lyrics and Keep_alive_together_engraver
Date: Fri, 30 Aug 2019 17:39:42 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0

Thanks, your first solution works, and I will give your second solution a try!

Rutger

On 8/30/19 4:20 PM, Kieren MacMillan wrote:
Hi Rutger,

What setting can I apply to get correct horizontal spacing in the second case?

One possibility:

         \new GrandStaff \with {
             \consists Keep_alive_together_engraver
             \override LyricText.extra-spacing-width = #empty-interval
         } <<

Not a big fan of this whole approach, though…

Rationale: I use this Lyrics tric in my MarkLines to create a spanner with the 
spanner elements at specific times, and also at a fixed vertical offset. I 
cannot use David Nalesnik's textSpannerInnerTexts because their spacing of the 
words doesn't depend on the musical time. I cannot use multiple TextSpanners, 
because (at least in parts with few or no notes) the vertical offset of the 
texts is not constant: I saw situations where they are stacked 3 high.

Use extra-spacing-height and -width (and related properties and macros) to 
force horizontal shifting — that will correct the stacking problem.
Then you’ll be using TextSpanners (as you should be) rather than [overloading] 
Lyrics.

Hope that helps!
Kieren.
________________________________

Kieren MacMillan, composer (he/him)
‣ website: www.kierenmacmillan.info
‣ email: address@hidden




reply via email to

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