bug-lilypond
[Top][All Lists]
Advanced

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

Re: Staff doesn't extend to cover lyrics at line breaks


From: Colin Wilding
Subject: Re: Staff doesn't extend to cover lyrics at line breaks
Date: Sat, 6 May 2006 16:16:19 -0700 (PDT)


You can fix this problem by adding this context setting:

\layout { \context { \Score \override PaperColumn #'keep-inside-line = ##t }
}

That seems to work in both your examples.  There is a more subtle problem,
though, with lyric extender lines, which stick out beyond the break (and
even into the margin when ragged-right is off) even with the above setting. 
As in this version of your example:

\version "2.8.1"

\paper {
  ragged-right = ##f
}
\layout { \context { \Score \override PaperColumn #'keep-inside-line = ##t }
}

music = \relative c'' {
  \time 2/4 g8 g8 g8~ \bar "" \break g8
}

words = \lyricmode {
  La la "tra la la la la la la la la la I can't hear you la la la la la " __
la
}

\score {
  \context Staff <<
    \context Voice = one \music
    \context Lyrics \lyricsto one \words
    >>
} 

I have a workaround for that (involving adding hidden markup text) if anyone
is interested.  I would have thought, though, that keep-inside-line should
work with the extension lines as well as with everything else, so perhaps
this should count as a bug.


Colin


Geoff Horton wrote:
> 
> Try this:
> 
> \version "2.8.1"
> 
> \paper {
>   ragged-right = ##t
> }
> 
> music = \relative c'' {
>   \time 2/4 g8 g8 g8 \bar "" \break g8
> }
> 
> words = \lyricmode {
>   La la "tra la la la la la la la la la I can't hear you la la la la la "
> la
> }
> 
> \score {
>   \context Staff <<
>     \context Voice = one \music
>     \context Lyrics \lyricsto one \words
>     >>
> }
> 
> ================================
> 
> It's admittedly a forced example, but I ran across it in a real-life
> example. Here's a slightly more complex version:
> 
> \version "2.8.1"
> 
> \paper {
>   ragged-right = ##t
> }
> 
> music = \relative c'' {
>   \cadenzaOn
>   c8 b a g f e d c c' b a
> }
> 
> words = \lyricmode {
>   La la la la la la la la
>   "tra la la la la la la la la la I can't hear you la la la la la " la la
> }
> 
> \score {
>   \context Staff <<
>     \context Voice = one \music
>     \context Lyrics \lyricsto one \words
>     >>
>   \layout {
>     \context {
>       \Staff
>       \remove "Time_signature_engraver"
>       \remove "Bar_engraver"
>     }
>     \context {
>       \Score
>       barAlways = ##t
>     }
>   }
> }
> 
> Geoff
> 
> 
> _______________________________________________
> bug-lilypond mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/bug-lilypond
> 
> 
--
View this message in context: 
http://www.nabble.com/Staff-doesn%27t-extend-to-cover-lyrics-at-line-breaks-t1523711.html#a4265152
Sent from the Gnu - Lilypond - Bugs forum at Nabble.com.





reply via email to

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