bug-lilypond
[Top][All Lists]
Advanced

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

Re: Lyric collides with staff line


From: Phil Holmes
Subject: Re: Lyric collides with staff line
Date: Tue, 12 Apr 2011 10:52:03 +0100

"Keith OHara" <address@hidden> wrote in message news:address@hidden
Phil Holmes <mail <at> philholmes.net> writes:


I'm attaching 2 screenshots of output that I'm getting when typesetting part of the Gondoliers. It's recitative, with a single note being used for lots of lyrics. I've done this by joining the lyrics with underscores. It looks to me like a regression, but before adding it to the tracker (and creating a
tiny example to do so) could someone assure me I'm not doing something
silly?

You are not doing anything silly, but the lyrics overlap the start bar even with version 2.12.3. The regtest lyrics-bar.ly seemed the most relevant, so I
adapted it to create a small example:

\version "2.12.3"
\relative c'' <<
 \new Voice = "a"{
   \override Score.PaperColumn #'keep-inside-line = ##t
   \override Score.NonMusicalPaperColumn #'keep-inside-line = ##t
   b1 b1 b1
 }
 \new Lyrics \with {
   \consists "Bar_engraver"
   \consists "Separating_line_group_engraver"
 } \lyricsto "a" {
   baaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaars lengthened if
 }
 \new Lyrics \lyricsto "a" {
   rrrrrrrrrrrrrrrrrrrrrrequired for noncollision
 }
 \new Staff {
   b1 b1 b1
 }>>

I do not know an answer to the next obvious question : How do we tell Lilypond
to consider the starting bar when spacing long lyric syllables?

I think what I'm seeing is actually a different bug. I've just spent the last hour trying to reproduce it with a smaller example and failing. It's quite odd. If I reduce the music I'm setting in almost any way, the collision disappears and LilyPond sets the lyrics much more "sensibly". Even reducing the music to the first page gives a good result. But with the full music set, we get the collision. Think I'm going to have to work around it with quotes rather than underscores.

--
Phil Holmes
Bug Squad





reply via email to

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