Thanks guys,

I knew there was a way to fool the system. ;) I think I'll go for David's
approach. That way I don't need to mess with the music.

I must also check if I can use the \nbsp to get rid of some pesky warnings
with other extenders, which I have ended with "" to stop them extending
over notes I want to skip e.g. { dah __ "" _ _ } --> { dah __ \nbsp _ _ }.

Happy new year...

-Risto

On 1 January 2017 at 04:52, David Wright <lily...@lionunicorn.co.uk> wrote:

> On Sat 31 Dec 2016 at 13:36:15 (+0200), Risto Vääräniemi wrote:
> > Hi all,
> >
> > I'm porting a project I made on 2.11 to 2.19 and every now and then I
> > encounter some things that worked with the old version but not anymore
> with
> > the new one.
> >
> > The most recent one is the behaviour of the LyricExtender in the
> alternate
> > endings. In 2.11 you could fool the system to add the an empty extender
> by
> > adding \markup { "" } in the lyrics but that does not work anymore with
> > 2.19. The current manual *) suggests adding underscores manually but that
> > is an ugly workaround especially if the passage in the alternative ending
> > is long (as I have in the real world example).
> >
> > Is there any way to do this more dynamically?
>
> I find the definition
>
> nbsp = \markup \char ##x00A0
>
> useful in many situations where you want "nothing".
> It avoids the effect of making the previous note into the
> start of a melisma, which writing   " "   can do.
>
> The override extends the extender to the left, which makes it a bit
> clearer what it is doing there. Adjust the -2 to taste.
>
> Cheers,
> David.
>
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to