1 2\version "2.19.21" 3\header{ 4 texidoc=" 5Rests should not collide with beams, stems and noteheads. Rests may 6be under beams. Rests should be move by integral number of spaces 7inside the staff, and by half spaces outside. Notice that the half 8and whole rests just outside the staff get ledger lines in different 9cases. 10" 11} 12 13\layout { ragged-right = ##t } 14 15scale = \relative { 16 c'8 d e f g a b c c d e f g a b c 17 18} 19rests = { 20 r r r r r r r r r r r r r r r r 21} 22different = << { 23 \relative { 24 r8 a' e4 a e 25 } 26}\\ { 27 28 \relative c'' { 29 r1 30 }} >> 31 32scales = \context Staff << 33 { r1 r2 r2 \scale c''1 c'2 a'2 \rests } 34 \\ 35 { a'1 a'2 d'2 \rests r1 r2 r2 \scale } 36>> 37 38restsII = \context Staff { 39 r4 r8 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} >> 45 \different 46} 47 48 49{ 50 \scales 51 \restsII 52} 53 54 55 56 57 58