lilypond-user
[Top][All Lists]
Advanced

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

Re: How to add a horizontal line after every third verse?


From: colin baguley
Subject: Re: How to add a horizontal line after every third verse?
Date: Sat, 16 Oct 2021 18:41:47 +0100

Well done Valentin - that has worked!
Although I do get an error message :-
"Drawing systems...

warning: staff-affinities should only decrease"

But even so it works well

Thank you

===================================
Colin Baguley
colin@baguley.net
===================================


On Sat, 16 Oct 2021 at 08:52, Valentin Petzel <valentin@petzel.at> wrote:
Hello Matthew, hello Colin,

I suspect that this is caused by the lyrics used to keep the line separator
alive is too long, as it is not aligned to some voice (although I don’t get
why this would keep the staff alive). So try doing

\lineSep \lyricsto someVoice someLyrics

And see if it solves the problem. If it doesn’t, would it be possible to
append the source file (potentially in a private email if that may cause any
problems), so that I can try to track down the root?

Cheers,
Valentin

Am Samstag, 16. Oktober 2021, 03:23:22 CEST schrieb Matthew Fong:
> Dear Valentin,
>
> I tried your solution, and it appears there is an extra stave that I cannot
> seem to get rid of (or understand how it is being produced). Otherwise,
> your code does what I want it to.
>
>
> Many thanks,
> mattfong
>
> On Fri, Oct 15, 2021 at 10:38 AM Valentin Petzel <valentin@petzel.at> wrote:
> > Glad to hear that.
> > If you look at the beginning of the code there are three #(define ... ...)
> > bits. Change these values to adjust the dash to your liking (length,
> > indent
> > and line thickness).
> >
> > Cheers,
> > Valentin
> >
> > 15.10.2021 14:31:57 colin baguley <colin@baguley.net>:
> >
> > THis looks really good - thank you so much.
> > ===================================
> > Colin Baguley
> > colin@baguley.net
> > ===================================
> >
> > On Thu, 14 Oct 2021 at 23:28, Valentin Petzel <valentin@petzel.at> wrote:
> >> Hello Matthew,
> >>
> >> Just for instruction: To use my version simply include the part at the
> >> top
> >> between the %%% (line 1-35) and then add between the Lyrics contexts you
> >> want
> >> the dash to be
> >>
> >> \lineSep someLyricsToKeepContextAlive
> >>
> >> and add \with \adjustLyricsAboveSeparator to the Lyrics context directly
> >> above
> >> the separator. So you should have something like this:
> >>
> >> ...
> >> \new Lyrics \with \adjustLyricsAboveSeparator someLyrics
> >> \lineSep someLyrics
> >> \new Lyrics someLyrics
> >> ...
> >>
> >> Cheers,
> >> Valentin

reply via email to

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