]> git.donarmstrong.com Git - lilypond.git/blob - input/test/rest-collision.ly
release: 1.1.43
[lilypond.git] / input / test / rest-collision.ly
1
2 scale = \notes \relative c' {
3   c8 d e f g a b c c d e f g a b c
4
5 }
6 rests = \notes             {
7   r r r  r r r r r r r r r r r r r
8
9
10 scales = \context Staff \notes <
11         \context Voice=i { \stemup r1 r2 r2   \scale    c''1 c'2 a'2 \rests  }
12         \context Voice = ii { \stemdown a'1 a'2 d'2 \rests r1 r2 r2  \scale }
13 >
14
15 restsII = \context Staff \notes {
16         r4 r8
17         \context Staff < { \stemup r8 } { \stemdown r8} >
18         \context Staff < {\stemup r8} r8 { \stemdown r8} >
19         \context Staff < {\stemup r8} r8 r8 { \stemdown r8} >
20         \context Staff < {\stemup r} { \stemdown r} >
21         \context Staff < {\stemup r} r { \stemdown r} >
22         \stemup
23         \transpose c'' { [c''8 r8 c''8 c''8]
24         [c8 r8 c8 c8]
25         \stemdown
26         [c8 r8 c8 c8]
27         [c''8 r8 c''8 c''8] }
28 }
29
30 \score{
31         \notes { 
32                 \scales 
33                 \restsII 
34         }
35 }       
36
37 \version "1.0.19";