]> git.donarmstrong.com Git - lilypond.git/blob - input/regression/grid-lines.ly
Imported Upstream version 2.14.2
[lilypond.git] / input / regression / grid-lines.ly
1 \header
2 {
3
4   texidoc = "With grid lines, vertical lines can be drawn between
5 staves synchronized with the notes."
6
7 }
8 \version "2.14.0"
9
10 skips =
11 {
12   \time 12/8
13   \once  \override Score.GridLine #'thickness = #4.0
14   s8 
15   s8 
16   s8 
17   \once  \override Score.GridLine #'thickness = #3.0
18   s8 
19   s8 
20   s8 
21   \once  \override Score.GridLine #'thickness = #4.0
22   s8 
23   s8 
24   s8 
25   \once  \override Score.GridLine #'thickness = #3.0
26   s8 
27   s8 
28   s8 
29 }
30
31
32 \layout {
33   \context {
34     \Staff
35     \consists "Grid_point_engraver"
36     
37   }
38
39   \context {
40     \RhythmicStaff
41     \consists "Grid_point_engraver"
42     gridInterval = #(ly:make-moment 1 8)
43     \override BarLine #'bar-extent = #'(-0.025 . 0.025)
44   }
45   \context {
46     \StaffGroup
47     \remove "System_start_delimiter_engraver" 
48   }
49   \context {
50     \Score
51       \consists "Grid_line_span_engraver"
52       \override SystemStartBrace #'transparent = ##t
53
54       \override NoteColumn #'X-offset = #-0.5
55       \override NoteHead #'Y-offset = #0.75
56   }
57 }
58
59 \layout {
60   ragged-right = ##t
61 }
62 \score {
63 \new StaffGroup <<
64   \new RhythmicStaff \with
65   {
66     \override NoteHead  #'no-ledgers = ##t
67   }
68   {
69     \stemUp
70     c4. c8 c8 c c4 c8 c8.[ c16 c8]
71   }
72   \new RhythmicStaff
73   {
74     \override NoteHead #'transparent = ##t
75     \override NoteHead #'no-ledgers = ##t
76     \override Stem #'transparent = ##t
77     \override Beam #'transparent = ##t
78     << \skips
79
80                                 % force regular spacing by introducing notes.
81        \repeat unfold 12 c8
82      >>
83   }
84   
85 >>
86 }
87