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: Matthew Fong
Subject: Re: How to add a horizontal line after every third verse?
Date: Sat, 16 Oct 2021 13:59:35 -0700

Dear Valentin,

Confirmed that was the offending line. Warning is fixed. Many thanks for your support and help!


Pax,
mattfong

On Sat, Oct 16, 2021 at 11:51 AM Valentin Petzel <valentin@petzel.at> wrote:
Hello,

that warning probably comes from some \override VerticalAxisGroup.staff-affinity = #center I threw in there for some example I think. As the lyrics have staff-affinity top per default we get this warning (which basically say if we have some sandwiched contexts the lower one should not ask to be placed closer to the upper staff if the upper ones ask to be places closer to the lower ones.

But you should be able to simply remove the line to fix the warning.

Cheers,
Valentin

16.10.2021 20:39:00 Matthew Fong <oxengen@gmail.com>:

Dear Colin and Valentin,

Confirmed solution works. Also have the same warning.


Pax,
mattfong

On Sat, Oct 16, 2021 at 10:41 AM colin baguley <colin@baguley.net> wrote:
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
===================================


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]