~ubuntu-branches/ubuntu/precise/lilypond/precise

« back to all changes in this revision

Viewing changes to input/regression/rest-collision.ly

  • Committer: Bazaar Package Importer
  • Author(s): Thomas Bushnell, BSG
  • Date: 2006-12-19 10:18:12 UTC
  • mfrom: (3.1.4 feisty)
  • Revision ID: james.westby@ubuntu.com-20061219101812-7awtjkp0i393wxty
Tags: 2.8.7-3
scripts/midi2ly.py: When setting DATADIR, find Lilypond python files
in the @TOPLEVEL_VERSION@ directory, not 'current'.  Patch thanks to
Chris Lamb (chris@chris-lamb.co.uk).  (Closes: #400550)

Show diffs side-by-side

added added

removed removed

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