5 Rests should not collide with beams, stems and noteheads. Rests may
6 be under beams. Rests should be move by integral number of spaces
7 inside the staff, and by half spaces outside. Notice that the half
8 and whole rests just outside the staff get ledger lines in different
13 \layout { ragged-right = ##t }
15 scale = \relative c' {
16 c8 d e f g a b c c d e f g a b c
20 r r r r r r r r r r r r r r r r
32 scales = \context Staff <<
33 { r1 r2 r2 \scale c''1 c'2 a'2 \rests }
35 { a'1 a'2 d'2 \rests r1 r2 r2 \scale }
38 restsII = \context Staff {
40 \context Staff << { r8 } \\{ r8} >>
41 \context Staff << { r8} r8 \\{ r8} >>
42 \context Staff << { r8} r8 r8 \\ { r8} >>
43 \context Staff << { r} \\ { r} >>
44 \context Staff << { r} r\\ { \stemDown r} >>