bug-lilypond
[Top][All Lists]

## Wide whole measure rests

 From: Kenneth Almquist Subject: Wide whole measure rests Date: Sat, 2 Feb 2002 18:46:02 -0500 (EST)

The R rest sometimes takes up more horizontal space than one would
expect.  The example below illustrates this.  In measures 1 through 4
we have a melody in the treble clef and rests in the bass clef.  In
measures 5 through 8, we have the same melody in the treble clef and
harmony in the bass clef.  We would expect measures 5 through 8 to take
up about the same amount of horizontal space as measures 1 through 4,
but in fact Lily allocates them only about half the space.  The remainder
of the example illustrates that the problem can also occur in 4/4 time.
Kenneth Almquist

\version "1.4.9"
\include "paper20.ly"

title = "Wide Rests"
subtitle = "February 2, 2002"
composer = "Kenneth Almquist"
}
\score {
\notes
< \context Staff = staffA {
\key c \major
\time 2/4
\clef treble
\relative c' {
e4 e | f g | g f | e d |
e4 e | f g | g f | e d |
\time 4/4
e4 e  f g | g f  e d | c c  d e | e4.. d16 d2 |
e4 e  f g | g f  e d | c c  d e | d4.. c16 c2 |
}
}
\context Staff = staffB {
\key c \major
\clef bass
\relative c {
R2 | R2 | R2 | R2 |
c4 c | d e | e d | c b |
\time 4/4
R1 | R1 | R1 | R1 |
c4 c  d e | e d  c b | c e  f g | f4.. e16 e2 |
}
}
>
\paper {
linewidth = 6.6 \in
}
}