bug-lilypond
[Top][All Lists]
Advanced

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

Re: uneven spacing with uniform-stretching


From: Phil Holmes
Subject: Re: uneven spacing with uniform-stretching
Date: Fri, 25 Jun 2010 10:04:14 +0100

"Mark Polesky" <address@hidden> wrote in message news:address@hidden
Is this a bug?  Turning on the uniform-stretching property
has unexpected consequences.  Except in the first measure of
a system, extra horizontal space is added before the first
beat of a measure if:

1) the measure has only one voice, containing one whole note
2) the measure starts with an accidental
3) the measure marks the beginning of a key change

Probably there are other peculiarities, but this is what
I've observed.

- Mark

* * * * * * * * * *

\version "2.13.21"

\paper {
 ragged-right = ##f
 between-scores-system-spacing = #0
}

stretch = \override Score.SpacingSpanner
           #'uniform-stretching = ##t
space = \markup \pad-around #2 \null

musicA = \relative b' { b1 b b }
musicB = \relative d'' <<
 { d1 d des } \\ { \repeat unfold 12 g,4 }

musicC = \relative d'' <<
 { d1 d \key g \major d } \\ { \repeat unfold 12 g,4 }


{ \musicA }
{ \stretch \musicA }
\space
{ \musicB }
{ \stretch \musicB }
\space
{ \musicC }
{ \stretch \musicC }

Thanks.  Added as http://code.google.com/p/lilypond/issues/detail?id=1149


--
Phil Holmes
Bug Squad






reply via email to

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