[Top][All Lists]

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

Re: ragged.last=##t, ragged-last-bottom produce strange horizontal+verti

From: Joe Neeman
Subject: Re: ragged.last=##t, ragged-last-bottom produce strange horizontal+vertical spacing
Date: Mon, 09 Aug 2010 12:37:13 -0700

On Sun, 2010-08-08 at 13:27 -0700, -Eluze wrote:
> with the code
> \version "2.13.29"
> \relative c' { \repeat unfold  5 { c8 d e f g a b c} }
> \paper {
>   ragged-last = ##t
>   ragged-last-bottom = ##f
> }
> i get the attached output 
> which is not what i expect, i.e.:
> - the last line should be scaled horizontally to half a line
That's not how ragged-last works. The last line is scaled according to
its "ideal" spacing, even if the line before it is stretched. I think
there was an enhancement request regarding this, but I can't find it
right now.

> - vertically there should be 3 lines (systems) with 2 measures in the 1st
> and 2nd system and one measure in the last one.
Why do you expect this? First of all, without ragged-last-bottom, I get
2 systems. Secondly, the solution that lilypond gives has better
vertical spacing (ie. not quite as stretched) as the one you propose, at
the cost of more stretched horizontal spacing. You can tweak the
relative importance of vertical/horizontal spacing with the
page-spacing-weight variable.

> it looks good if i omit   ragged-last-bottom = ##f

Well, yes. With ragged-last-bottom = ##f, you've asked lilypond to
stretch 5 bars of music to fill a whole a4 page. It will look bad no
matter what.


reply via email to

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