lilypond-user
[Top][All Lists]
Advanced

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

Re: (bug?) irregular lyrics distance in 2.13.10


From: Joe Neeman
Subject: Re: (bug?) irregular lyrics distance in 2.13.10
Date: Thu, 14 Jan 2010 14:46:21 +1100

On Wed, 2010-01-13 at 23:12 +0100, Alexander Kobel wrote:
> Joe Neeman wrote:
> >> Am Mittwoch, 13. Januar 2010 17:02:18 schrieb David Kastrup:
> >> That's basically the approach taken by Joe for spacing staves: Place the 
> >> center lines minimum-spacing apart, except if the skylines would (almost?) 
> >> overlap (including a padding). In the latter case add space until no 
> >> overlap 
> >> occurs. Of course, when stretching is enabled, things are a little more 
> >> involved.
> >>
> >> I just don't know how Joe aligns lyrics, in particular, whether only the 
> >> extents are used or whether the baseline is used like the center line for 
> >> staves.
> > 
> > The minimum-distances are measured from the "origin" of the line. That
> > is, if the extent of a staff is (-5 . 5) then we measure from the
> > center. Thus, we just need to make sure that the "origin" of a Lyrics
> > line is its baseline (I can't check this right now). Then it should be
> > sufficient just to set minimum-distance to the desired line-skip.
> 
> This would be sufficient for the inter-lyrics spacing, but we should 
> take care that it does not influence the staff-to-lyrics spacing for the 
> bad.  Or is this one determined by the actual extent of the glyphs?


Actually, the origin of the lyrics is already the baseline, as the
following example shows. So it should just be a matter of finding the
right default for minimum-distance.

\version "2.13.10"

<<
  { c'' c'' c'' c'' }
  \new Lyrics \lyricmode { d }
  \new Lyrics \lyricmode { p }
>>

\layout {
  \context {
    \Lyrics
    \override VerticalAxisGroup #'inter-loose-line-spacing = #'((space .
0) (minimum-distance . 0) (padding . -20))
  }
}






reply via email to

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